> I first try the content-type header,

Right.

> then the special _charset_ field, 

I don't know what that is.  Can you explain a bit more?

> and finally utf-8.

That's wrong.  Should be ASCII.  You could add an "encoding" field to
let the application override this, though.  But the default is ASCII.

> If there is a problem in the decoding, the client is broken (or there is 
> a bug in the application).
> So the correct response is Bad Request, IMHO.

Yes, I think that's right.

Bill
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to