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.
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