~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Robert Collins
  • Date: 2005-11-28 05:13:41 UTC
  • mfrom: (1185.33.54 merge-recovered)
  • Revision ID: robertc@robertcollins.net-20051128051341-059936f2f29a12c8
Merge from Martin. Adjust check to work with HTTP again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
        debug("can't handle response status %r" % r.status)
236
236
        raise NotImplementedError()
237
237
 
238
 
    if r.content_length is None:
 
238
    if r.content_length == None:
239
239
        raise NotImplementedError()
240
240
 
241
241
    if r.content_length == 0: