3 ms·
HTML requests are: plain text, self-explanatory ("Content-length", "charset", etc.). What exactly is unhuman about that?
by fao_ 9y ago
HTML requests are: plain text, self-explanatory ("Content-length", "charset", etc.). What exactly is unhuman about that?
- dullgiulio 9y agoThat's HTTP, not HTML.
- fao_ 9y agoYikes, major misread on my part. Whoops.
- lvh 9y agoHTML request bodies are arbitrary bytes. There are nice ways to do useful things with those arbitrary bytes and less nice ways. This library purports to collect some of the nice ones. "XYZ for Humans" is a trope for the author of this library; for example, requests' tagline is "HTTP for humans".
- acdha 9y agoThat’s HTTP, but both it an HTML share a lot of things which are tedious for humans to deal with – encodings, error handling, handling things like attributes which may but usually do not have multiple values, etc. – and most HTML tooling has user-hostile APIs dating back to the XML era when developer convenience was seen as coddling the weak.
- deleted 9y ago[deleted]