Given a failure to parse an HTTP request (#3), reset the connection.
Given a parsed message (#3), figure out whether it matches a set of routes, and trigger the response for whatever route was matched.
If it doesn't match, produce an appropriate response:
Given a failure to parse an HTTP request (#3), reset the connection.
Given a parsed message (#3), figure out whether it matches a set of routes, and trigger the response for whatever route was matched.
If it doesn't match, produce an appropriate response:
Accepthas noContent-Typematch: 406 Not Acceptable (...or just ignore it, "default representation" is an option)