PyDocs

Nav

Internet Protocols and Support

HTTPConnection.putrequest

http.client

method of HTTPConnection (source) not WASI
  • HTTPConnection.putrequest(method, url, skip_host=False, skip_accept_encoding=False)
Send a request to the server.

'method' specifies an HTTP request method, e.g. 'GET'.
'url' specifies the object being requested, e.g. '/index.html'.
'skip_host' if True does not add automatically a 'Host:' header
'skip_accept_encoding' if True does not add automatically an
   'Accept-Encoding:' header
0 Examples
No examples for http.client/HTTPConnection.putrequest.
See Also
No see-alsos for http.client/HTTPConnection.putrequest
0 Notes
No notes for HTTPConnection.putrequest