Comment 27 for bug 198646

Revision history for this message
Dirk T (miriup) wrote :

I'm having this or a similar problem with bazaar 2.3.1 and 2.2.2. I'm getting this error:

-----8<-----
 * bzr branch start -->
 * repository: lp:rescuetime-linux-uploader => /home/portage/distfiles/bzr-src/rescuetime-linux-uploader
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/~rescuetime-developers/rescuetime-linux-uploader/trunk/.bzr/repository/packs/131ce2d0f2883b17b081d43af081770d.pack: Expected a boundary (Q(f9?SXuX1RnXykU6w)h) line, got ''
-----8<-----

The breaking HTTP looks like this (wireshark output):

-----8<-----
GET /~rescuetime-developers/rescuetime-linux-uploader/trunk/.bzr/repository/packs/131ce2d0f2883b17b081d43af081770d.pack HTTP/1.1
Accept-Encoding: identity
Host: bazaar.launchpad.net
Accept: */*
User-Agent: bzr/2.3.1 (urllib)
Connection: Keep-Alive
Pragma: no-cache
Cache-Control: max-age=0
Range: bytes=0-41,448-790

HTTP/1.1 206 Partial content
Content-Type: multipart/byteranges; boundary="Q(f9?SXuX1RnXykU6w)h"
Date: Fri, 06 May 2011 17:34:20 GMT
Server: Apache/2.2.14 (Ubuntu)
Last-Modified: Tue, 22 Dec 2009 20:57:07 GMT
ETag: "154623e-477-47b5772e7aec0"
Accept-Ranges: bytes
Via: 1.1 bazaar.launchpad.net
Connection: close
Age: 0

--Q(f9?SXuX1RnXykU6w)h
Content-Type: text/plain
Content-Range: bytes 0-41/1143

Bazaar pack format 1 (introduced in 0.18)
-----8<-----

The above request is the only one in the stream with Content-Type: multipart/byteranges. Notice that there are not two Content-Type headers in the server response. I'm also behind a transparent proxy server.