Comment 26 for bug 198646

Revision history for this message
Henrik Nordström (henriknordstrom) wrote : Re: [Bug 198646] Re: Invalid http response ... Expected a boundary

On tor, 2008-07-31 at 17:03 +0000, John A Meinel wrote:

> Which is perfectly clear about what the boundary should be. I wonder if
> it is because Savannah is returning 2 Content-type: strings, which is
> confusing pycurl.

Quite likely. Having two Content-Type in the same HTTP message is a
clear protocol violation, and different implementations react very
differently when seeing this.

> That said, is it legal to give 2 ContentType values?

No. Content-Type is a single-valued header, not a list header.

Regards
Henrik