From c52e7d212fa5b1e2525ccf84b2884ebeba354f36 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 6 Feb 2021 19:48:23 -0800 Subject: [PATCH] Added missing Request __init__ parameters (#1456) Co-authored-by: Joe --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 817467ec..0a5afd1f 100644 --- a/docs/api.md +++ b/docs/api.md @@ -97,7 +97,7 @@ what gets sent over the wire.* >>> response = client.send(request) ``` -* `def __init__(method, url, [params], [data], [json], [headers], [cookies])` +* `def __init__(method, url, [params], [headers], [cookies], [content], [data], [files], [json], [stream])` * `.method` - **str** * `.url` - **URL** * `.content` - **byte**, **byte iterator**, or **byte async iterator**