I have read some stuff about form data encoding, but one thing remains unclear. In case of enctype=”application/x-www-form-urlencoded” we need to urlencode data by hand, don’t we?
… Forms submitted with this content type must be encoded as follows
Must be encoded by whom? By browsers? Or by application developers?
The other thing is — what encoding (if any) is used, or should be used, in case of multipart/form-data?
I’m kindda mislead so big thx in advance.
Actually, browsers url-encode data automatically. And this w3 docs is first of all for those who make browsers. So that phrase,
Forms submitted with this content type must be encoded as followsmeans that data should be encoded by browsers. Anyway, one can check it by viewing raw post in the form data handling script (in case of php in looks likefile_get_contents("php://input");)