Incorrect PUT request on push (HTTP 400 error)
Bug #955445 reported by
Andreas Sommer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar WebDAV plugin |
Incomplete
|
High
|
Vincent Ladeuil |
Bug Description
Empty PUT requests may be sent, resulting in invalid headers as follows:
Content-Range: bytes 4222347-4222346/*
Content-Length: 0
The server then returns HTTP 400 (Bad Request).
Will add a fixed branch in a minute.
Related branches
description: | updated |
To post a comment you must log in.
Maybe it's also a good idea to keep investigating why empty requests were sent. As I wrote on the mailing list (https:/ /lists. ubuntu. com/archives/ bazaar/ 2012q1/ 074515. html), this started happening everytime since I updated from bzr 2.5b1 to 2.5b6.
I also tried it with pushing to a new repository: The first push worked (I committed only a small file, first pack file), while the second push again causes the problem (added a 4 MB file, resulting in upload of second pack file when pushing).