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.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to