In pset6 there is the following sentence:
- if
absolute-path
does not contain a.
(and thus a file extension), respond to the browser with 501 Not Implemented.
But when using the Staff's solution and trying to do, say:
GET /cat HTTP/1.1
then I receive 404 Not found
Am I not understanding the quoted sentence above correctly, or does the staff's solution have a bug?
How do you guys handle a missing dot in your server.c?
Do you respond with 501 or 404?
Hope no one understands that as an offence to the Staff's solution, I just want to know if I have to respond to that case with 404 or 501 :-)