3 ms·
I’m confused, if the RFC does not accurately model HTTP requests, what does?
by jimbokun 4y ago
I’m confused, if the RFC does not accurately model HTTP requests, what does?
- aidenn0 4y agoYour customers define what an HTTP request is. To be less snarky, the RFC defines what a well-formed HTTP request is. In the wild there are a lot of malformed HTTP requests that business cases may require handling.
- jimbokun 4y agoI suppose the “parse don’t validate” philosophy would recommend first transforming the I’ll formed request into a data structure that only models well formed requests, before it’s processed by any other part of the program.