Re:Parse, Don't Validate (2019)
by jimbokun on Wednesday March 08, 2023 @08:21AM
(#35068654)
I’m confused, if the RFC does not accurately model HTTP requests, what does?
[ Parent
| on HN ]
Your customers define what an HTTP request is.
I 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.