I need to dig through my old computer and find my college lab assignments where we built a basic HTTP/1.1 server. For the request parser, we had to create a lex file for a grammar that include actions for all of the verbs, and also be robust to accept non-standard verbs, i.e, return a 400 code.
I doubt that my yacc'd program would be only 124 bytes in size, but it would be interesting to get that old code and compare the results.
I doubt that my yacc'd program would be only 124 bytes in size, but it would be interesting to get that old code and compare the results.