From d5c6356b8703dd61abd457e363409543cd85e852 Mon Sep 17 00:00:00 2001 From: Joey Ekstrom Date: Tue, 24 Jun 2025 09:08:14 -0700 Subject: [PATCH] Updated docs to explicityly state bytearray is allowed. --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index f1bd50c9..5b189eb0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -100,7 +100,7 @@ what gets sent over the wire.* * `def __init__(method, url, [params], [headers], [cookies], [content], [data], [files], [json], [stream])` * `.method` - **str** * `.url` - **URL** -* `.content` - **byte**, **byte iterator**, or **byte async iterator** +* `.content` - **byte**, **bytearray**, **byte iterator**, or **byte async iterator** * `.headers` - **Headers** * `.cookies` - **Cookies**