Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added a few more __all__ lists | Skip Montanaro | 2001-01-23 | 1 | -0/+2 |
| | | | | fixed typo in ihooks docstring | ||||
* | Revert a change I accidentally checked in together with Ping's | Guido van Rossum | 2001-01-15 | 1 | -4/+1 |
| | | | | "smallest patch ever". | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -17/+17 |
| | |||||
* | SF Patch #103232 by dougfort: Preserve Nonstandard Port Number in Host | Guido van Rossum | 2001-01-14 | 1 | -1/+6 |
| | | | | | | | | | | Header Dougfort's comments: httplib does not include ':port ' in the HTTP 1.1 'Host:' header. This causes problems if the server is not listening on Port 80. The test case I use is the login to /manage under Zope, with Zope listening on port 8080. Zope returns a <frameset> with the <frame> source URLs lacking the :8080. | ||||
* | No text file relying on significant trailing whitespace is robust under | Tim Peters | 2001-01-13 | 1 | -16/+16 |
| | | | | modification. Removed the need for that. | ||||
* | SF Patch #103225 by Ping: httplib: smallest Python patch ever | Guido van Rossum | 2001-01-13 | 1 | -2/+5 |
| | | | | | | | The ASCII-art diagram at the top of httplib contains a backslash at the end of a line, which causes Python to remove the newline. This one-character patch adds a space after the backslash so it will appear at the end of the line in the docstring as intended. | ||||
* | Get rid of string functions. | Guido van Rossum | 2000-12-15 | 1 | -14/+12 |
| | | | | | There should really be a little tool to help with this -- it's rather tedious and there are lots of special cases! | ||||
* | Hoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with | Guido van Rossum | 2000-12-11 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | socket in httplib.py. The bug reports that on Windows, you must pass sock._sock to the socket.ssl() call. But on Unix, you must pass sock itself. (sock is a wrapper on Windows but not on Unix; the ssl() call wants the real socket object, not the wrapper.) So we see if sock has an _sock attribute and if so, extract it. Unfortunately, the submitter of the bug didn't confirm that this patch works, so I'll just have to believe it (can't test it myself since I don't have OpenSSL on Windows set up, and that's a nontrivial thing I believe). | ||||
* | If the status line is invalid, assume it is a pre-1.0 response. The | Jeremy Hylton | 2000-10-12 | 1 | -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öwis | 2000-09-21 | 1 | -1/+1 |
| | |||||
* | Do not close socket when a Content-Length is 0. This make the | Jeremy Hylton | 2000-09-18 | 1 | -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 by | Jeremy Hylton | 2000-09-14 | 1 | -1/+4 |
| | | | | ignoring them; e.g. Zope sometimes returns 13497L | ||||
* | add docstring explaining makefile limitation | Jeremy Hylton | 2000-08-23 | 1 | -1/+11 |
| | | | | fix support for passing http version to connect in HTTP | ||||
* | add support for HTTPS | Jeremy Hylton | 2000-08-01 | 1 | -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 Stein | 2000-07-18 | 1 | -573/+577 |
| | | | | use "cvs diff -b" to verify. | ||||
* | initial commit of a new HTTP library, supporting HTTP/1.1 and persistent | Greg Stein | 2000-06-26 | 1 | -228/+734 |
| | | | | connections. | ||||
* | Add call to putheader('Host', 'www.python.org') to the example. | Guido van Rossum | 2000-05-19 | 1 | -0/+1 |
| | |||||
* | Fredrik Lundh: | Guido van Rossum | 2000-03-28 | 1 | -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 Drake | 2000-02-10 | 1 | -15/+15 |
| | |||||
* | OpenSSL support. This is based on patches for a version of SSLeay by | Guido van Rossum | 1999-12-07 | 1 | -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 like | Guido van Rossum | 1998-01-19 | 1 | -2/+6 |
| | | | | | | HTTP/1.x 200 instead of HTTP/1.x 200 OK | ||||
* | Doc strings by Mitch Chapman (with a little reformatting). | Guido van Rossum | 1997-12-09 | 1 | -118/+174 |
| | | | | Also reformatted the whole module with 4 spaces and no tabs. | ||||
* | Two changes: | Guido van Rossum | 1997-08-11 | 1 | -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 Rossum | 1996-12-10 | 1 | -2/+2 |
| | |||||
* | Changed makefile() args from r/w to rb/wb, for non-unix compatability. | Jack Jansen | 1996-02-14 | 1 | -1/+1 |
| | |||||
* | actualized example/reference, fix bug w/ nonnumeric port | Guido van Rossum | 1995-09-30 | 1 | -8/+9 |
| | |||||
* | fixed the test program | Guido van Rossum | 1995-09-07 | 1 | -3/+6 |
| | |||||
* | use mimetools; add close() | Guido van Rossum | 1995-08-07 | 1 | -2/+8 |
| | |||||
* | discard endrequest(); minor stuff; rfc822 no seek flag | Guido van Rossum | 1995-06-22 | 1 | -6/+4 |
| | |||||
* | Changes to use default argument values where possible | Guido van Rossum | 1994-05-06 | 1 | -8/+4 |
| | |||||
* | Fix bug with somtimes uninitialized port | Guido van Rossum | 1994-02-22 | 1 | -1/+2 |
| | |||||
* | Towards a standard access mechanism for URLs. | Guido van Rossum | 1994-02-21 | 1 | -0/+129 |