1. 22 Dec, 2003 1 commit
  2. 21 Dec, 2003 1 commit
  3. 20 Dec, 2003 2 commits
  4. 19 Dec, 2003 3 commits
  5. 18 Dec, 2003 8 commits
  6. 17 Dec, 2003 8 commits
  7. 16 Dec, 2003 1 commit
  8. 15 Dec, 2003 10 commits
  9. 14 Dec, 2003 4 commits
    • Neal Norwitz's avatar
      SF #859811, typo in docs · eba7c6af
      Neal Norwitz authored
      eba7c6af
    • Neal Norwitz's avatar
      SF #859810, typo in doc · 729cbff9
      Neal Norwitz authored
      729cbff9
    • Jeremy Hylton's avatar
      3807fb5a
    • Jeremy Hylton's avatar
      SF patch 852995: add processors feature to urllib2 · cf31ac93
      Jeremy Hylton authored
      John J. Lee writes: "the patch makes it possible to implement
      functionality like HTTP cookie handling, Refresh handling,
      etc. etc. using handler objects. At the moment urllib2's handler
      objects aren't quite up to the job, which results in a lot of
      cut-n-paste and subclassing. I believe the changes are
      backwards-compatible, with the exception of people who've
      reimplemented build_opener()'s functionality -- those people would
      need to call opener.add_handler(HTTPErrorProcessor).
      
      The main change is allowing handlers to implement
      methods like:
      
      http_request(request)
      http_response(request, response)
      
      In addition to the usual
      
      http_open(request)
      http_error{_*}(...)
      "
      
      Note that the change isn't well documented at least in part because
      handlers aren't well documented at all.  Need to fix this.
      
      Add a bunch of new tests.  It appears that none of these tests
      actually use the network, so they don't need to be guarded by a
      resource flag.
      cf31ac93
  10. 13 Dec, 2003 2 commits