Post request and encoding

Hernán De Angelis variablestarlight at gmail.com
Wed Nov 4 02:46:01 EST 2020


I see. Should be "encoding". Thanks.

/H.

On 2020-11-03 19:30, Dieter Maurer wrote:
> Hernán De Angelis wrote at 2020-11-2 10:06 +0100:
>> ...
>> My request has the form:
>>
>> header = {'Content-type':'application/xml', 'charset':'utf-8'}
> Not your problem (which you have already resolved) but:
> `charset` is not an individual header but a parameter
> for the `Content-Type` header. For `xml` `utf-8` is the default charset.


More information about the Python-list mailing list