[Web-SIG] parsing of urlencoded data and Unicode

Bill Janssen janssen at parc.com
Tue Jul 29 22:17:53 CEST 2008


> 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


More information about the Web-SIG mailing list