/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/transport/http/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-08 16:02:17 UTC
  • mto: This revision was merged to the branch mainline in revision 7321.
  • Revision ID: jelmer@jelmer.uk-20190608160217-w861ky4nhrs00mhi
Fix git http support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2305
2305
            headers={'Content-Type': 'application/octet-stream'})
2306
2306
        if response.status not in (200, 403):
2307
2307
            raise errors.InvalidHttpResponse(
2308
 
                url, 'Unexpected status %d' % response.status)
 
2308
                abspath, 'Unexpected status %d' % response.status)
2309
2309
        code = response.status
2310
2310
        data = handle_response(
2311
2311
            abspath, code, response.getheader, response)