~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2420.1.14.

  • Committer: Vincent Ladeuil
  • Date: 2007-04-22 10:01:32 UTC
  • mto: (2420.1.21 bzr.http.auth)
  • mto: This revision was merged to the branch mainline in revision 2463.
  • Revision ID: v.ladeuil+lp@free.fr-20070422100132-98l662vmscalaiin
Tested against squid-2.6.5 with digest authentication.

* bzrlib/transport/http/_urllib2_wrappers.py:
(DigestAuthHandler.build_auth_header): Only the request path
should appear in the uri. nc value should not be quoted for
squid (the devil is in the details...). Well, some cleaning
helped. Don't put algorithm in the header if none was specified by
the server.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: