Files
cpython/Lib
Jeremy Hylton d46aa37d35 Handle HTTP/0.9 responses.
Section 19.6 of RFC 2616 (HTTP/1.1):

   It is beyond the scope of a protocol specification to mandate
   compliance with previous versions. HTTP/1.1 was deliberately
   designed, however, to make supporting previous versions easy....

   And we would expect HTTP/1.1 clients to:

      - recognize the format of the Status-Line for HTTP/1.0 and 1.1
        responses;

      - understand any valid response in the format of HTTP/0.9, 1.0, or
        1.1.

The changes to the code do handle response in the format of HTTP/0.9.
Some users may consider this a bug because all responses with a
sufficiently corrupted status line will look like an HTTP/0.9
response.  These users can pass strict=1 to the HTTP constructors to
get a BadStatusLine exception instead.

While this is a new feature of sorts, it enhances the robustness of
the code (be tolerant in what you accept).  Thus, I consider it a bug
fix candidate.

XXX strict needs to be documented.
2002-07-06 18:48:07 +00:00
..
2002-05-29 19:40:36 +00:00
2002-06-11 06:22:31 +00:00
2002-03-17 21:49:20 +00:00
2001-12-22 15:23:50 +00:00
2001-08-09 12:33:32 +00:00
2002-02-11 17:56:27 +00:00
2002-06-13 17:59:51 +00:00
2002-06-01 01:29:16 +00:00
2002-07-06 18:48:07 +00:00
2001-07-04 10:15:58 +00:00
2002-06-01 16:07:16 +00:00
2001-08-02 07:15:29 +00:00
2002-06-01 16:07:16 +00:00
2002-06-01 16:07:16 +00:00
2002-05-23 23:58:17 +00:00
2002-04-16 01:38:40 +00:00
2002-06-05 19:07:39 +00:00
2002-06-02 00:40:05 +00:00
2002-06-02 00:40:05 +00:00
2002-06-13 22:18:39 +00:00
2001-10-28 20:15:40 +00:00
2002-02-08 20:41:34 +00:00
2002-05-23 15:15:30 +00:00
2002-05-31 14:15:11 +00:00
2002-03-18 13:06:00 +00:00
2002-04-13 14:03:38 +00:00
2002-05-20 14:48:16 +00:00
2002-06-10 20:00:52 +00:00
2001-10-24 20:42:55 +00:00