]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Merge pull request #780 from keakon/patch-1
authorbdarnell <ben@bendarnell.com>
Wed, 8 May 2013 04:31:46 +0000 (21:31 -0700)
committerbdarnell <ben@bendarnell.com>
Wed, 8 May 2013 04:31:46 +0000 (21:31 -0700)
add missing parameter doc

1  2 
tornado/httpclient.py

index 76ece1d7e6ba7a9381d2670306162bf542620086,63d8c2a1ba219373a9e31208d6a95dc845b66a8a..e933c416be45ce8cca930ef964027c14d34d0cff
@@@ -258,13 -258,10 +258,14 @@@ class HTTPRequest(object)
          :arg string url: URL to fetch
          :arg string method: HTTP method, e.g. "GET" or "POST"
          :arg headers: Additional HTTP headers to pass on the request
+         :arg body: HTTP body to pass on the request
          :type headers: `~tornado.httputil.HTTPHeaders` or `dict`
 -        :arg string auth_username: Username for HTTP "Basic" authentication
 -        :arg string auth_password: Password for HTTP "Basic" authentication
 +        :arg string auth_username: Username for HTTP authentication
 +        :arg string auth_password: Password for HTTP authentication
 +        :arg string auth_mode: Authentication mode; default is "basic".
 +           Allowed values are implementation-defined; ``curl_httpclient``
 +           supports "basic" and "digest"; ``simple_httpclient`` only supports
 +           "basic"
          :arg float connect_timeout: Timeout for initial connection in seconds
          :arg float request_timeout: Timeout for entire request in seconds
          :arg if_modified_since: Timestamp for ``If-Modified-Since`` header