multiple content-types break

Jon Ribbens jon+usenet at
Sun Mar 4 23:27:00 CET 2007

In article <1173040160.844329.48050 at>, Janto Dreijer wrote:
>> It's not a bug - sending multiple content-types is just totally broken.
>> What would such a header even be supposed to mean? It's like saying
>> "this is an apple orange".
> Hmmm. Thanks! I suspected as much.
> Rough inspection suggests that calling
>     connection.setRequestProperty("Content-Type", "application/x-www-
> form-urlencoded");
> on the Nokia 6230 would actually cause the value to be *appended* and
> not set.

If that method is inherited from, then if the
phone is behaving as you suggest, its Java library is bugged and
behaving contrary to Sun's Java documentation.

More information about the Python-list mailing list