From: Simon Willison Date: Sun, 7 Feb 2021 03:48:23 +0000 (-0800) Subject: Added missing Request __init__ parameters (#1456) X-Git-Tag: 0.17.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c52e7d212fa5b1e2525ccf84b2884ebeba354f36;p=thirdparty%2Fhttpx.git Added missing Request __init__ parameters (#1456) Co-authored-by: Joe --- 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**