Lines Matching refs:HTTPConnection
46 .. class:: HTTPConnection(host[, port[, strict[, timeout[, source_address]]]])
48 An :class:`HTTPConnection` instance represents one transaction with an HTTP
64 >>> h1 = httplib.HTTPConnection('www.cwi.nl')
65 >>> h2 = httplib.HTTPConnection('www.cwi.nl:80')
66 >>> h3 = httplib.HTTPConnection('www.cwi.nl', 80)
67 >>> h3 = httplib.HTTPConnection('www.cwi.nl', 80, timeout=10)
80 A subclass of :class:`HTTPConnection` that uses SSL for communication with
429 HTTPConnection Objects
432 :class:`HTTPConnection` instances have the following methods:
435 .. method:: HTTPConnection.request(method, url[, body[, headers]])
456 .. method:: HTTPConnection.getresponse()
467 .. method:: HTTPConnection.set_debuglevel(level)
473 .. method:: HTTPConnection.set_tunnel(host,port=None, headers=None)
484 .. method:: HTTPConnection.connect()
489 .. method:: HTTPConnection.close()
497 .. method:: HTTPConnection.putrequest(request, selector[, skip_host[, skip_accept_encoding]])
510 .. method:: HTTPConnection.putheader(header, argument[, ...])
518 .. method:: HTTPConnection.endheaders(message_body=None)
530 .. method:: HTTPConnection.send(data)
628 >>> conn = httplib.HTTPConnection("bugs.python.org")
649 >>> conn = httplib.HTTPConnection("localhost", 8080)