summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
Commit message (Collapse)AuthorAgeFilesLines
* If the status line is invalid, assume it is a pre-1.0 response. TheJeremy Hylton2000-10-121-3/+10
| | | | msg/headers are empty and the entire response is treated as the body.
* Indent _connection_class so that it becomes HTTPS._connection_class.Martin v. Löwis2000-09-211-1/+1
|
* Do not close socket when a Content-Length is 0. This make theJeremy Hylton2000-09-181-15/+20
| | | | | | | interface consistent: The client is responsible for closing the socket, regardless of the amount of data received. Restore suport for set_debuglevel call.
* cope with weird Content-Length values returned from servers byJeremy Hylton2000-09-141-1/+4
| | | | ignoring them; e.g. Zope sometimes returns 13497L
* add docstring explaining makefile limitationJeremy Hylton2000-08-231-1/+11
| | | | fix support for passing http version to connect in HTTP
* add support for HTTPSJeremy Hylton2000-08-011-16/+27
| | | | | | | Modify HTTP to use delegation instead of inheritance. The _connection_class attribute of the class defines what class to delegate to. The HTTPS class is a subclass of HTTP that redefines _connection_class.
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-181-573/+577
| | | | use "cvs diff -b" to verify.
* initial commit of a new HTTP library, supporting HTTP/1.1 and persistentGreg Stein2000-06-261-228/+734
| | | | connections.
* Add call to putheader('Host', 'www.python.org') to the example.Guido van Rossum2000-05-191-0/+1
|
* Fredrik Lundh:Guido van Rossum2000-03-281-2/+2
| | | | | This fixes a bunch of socket.connect(host, post) calls. Note that I haven't tested all modules -- I don't have enough servers here...
* Untabify to pass the -tt test.Fred Drake2000-02-101-15/+15
|
* OpenSSL support. This is based on patches for a version of SSLeay byGuido van Rossum1999-12-071-13/+92
| | | | | | Brian E Gallew, which were improved and adapted to OpenSSL 0.9.4 by Laszlo Kovacs of HP. Both have kindly given permission to include the patches in the Python distribution. Final formatting by GvR.
* Patch by Tim O'Malley for servers that send a response looking just likeGuido van Rossum1998-01-191-2/+6
| | | | | | HTTP/1.x 200 instead of HTTP/1.x 200 OK
* Doc strings by Mitch Chapman (with a little reformatting).Guido van Rossum1997-12-091-118/+174
| | | | Also reformatted the whole module with 4 spaces and no tabs.
* Two changes:Guido van Rossum1997-08-111-14/+13
| | | | | | | | | (1) No longer close self.sock; close it on close(). (Guido) (2) Don't use regular expressions for what can be done simply with string.split() -- regex is thread unsafe. (Jeremy) (3) Delete unused imports. (Jeremy)
* In the HTTP reply header, be more accepting in the HTTP version.Guido van Rossum1996-12-101-2/+2
|
* Changed makefile() args from r/w to rb/wb, for non-unix compatability.Jack Jansen1996-02-141-1/+1
|
* actualized example/reference, fix bug w/ nonnumeric portGuido van Rossum1995-09-301-8/+9
|
* fixed the test programGuido van Rossum1995-09-071-3/+6
|
* use mimetools; add close()Guido van Rossum1995-08-071-2/+8
|
* discard endrequest(); minor stuff; rfc822 no seek flagGuido van Rossum1995-06-221-6/+4
|
* Changes to use default argument values where possibleGuido van Rossum1994-05-061-8/+4
|
* Fix bug with somtimes uninitialized portGuido van Rossum1994-02-221-1/+2
|
* Towards a standard access mechanism for URLs.Guido van Rossum1994-02-211-0/+129