In the specs for pset6 it says the following:
whereby absolute-path (which will not contain ?) must start with / and might optionally be followed by a ? followed by a query, which may not contain ".
Ensure that request-line (which is already stored for you in a variable called line) is consistent with these rules. If it is not, respond to the browser with 400 Bad Request.
So if the path for the request-target does not begin with / then I should return a 400 error. The extra conditions say the following though:
if request-target does not begin with /, respond to the browser with 501 Not Implemented;
Does this mean I should respond with both a 400 and a 501 error, if the path doesn't start with /?