Failure to merge from BB

Matt Nordhoff mnordhoff at mattnordhoff.com
Wed Aug 13 12:15:43 BST 2008


John Arbash Meinel wrote:

<big snip>

> 1.185  < HTTP/1.1 200 OK
> 1.185  < Date: Tue, 12 Aug 2008 20:13:50 GMT
> < Server: CherryPy/2.3.0
> < Content-Type: text/html; charset=utf-8
> < Status: 404
> 
> And it gets a 200 OK, which sounds like cherrypy is happy to respond to
> the POST.
> 
> Right after that, I get a traceback, because I think CherryPy is saying
> "Thanks for the request, 200 OK that is a 404".
> 
> Is Status: 404 supposed to supersede the 200 OK response?
> 
> Anyway, at a minimum I think BB is giving confusing responses, though
> probably 'bzr' might be misinterpreting them?

Sending a Status header is the right way for a CGI script to tell the
server to send a different status code. For some reason, the server
isn't handling it properly in this case. My guess is that Bundle Buggy
is trying to do it the wrong way, when it should be using some
TurboGears- or CherryPy-specific method (like raising a NotFound
exception or somesuch). Or there could be a bug in something.

Well, that's if bzr is reporting the headers accurately. BB is slow/down
at the moment, so I can't check for myself.

> John
> =:->
-- 



More information about the bazaar mailing list