You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/11/07 16:00:05 UTC

[GitHub] ocket8888 commented on issue #2952: Change Traffic Ops to 501 Not Implemented on unknown version reqs, and client to return a helpful message

ocket8888 commented on issue #2952: Change Traffic Ops to 501 Not Implemented on unknown version reqs, and client to return a helpful message
URL: https://github.com/apache/trafficcontrol/pull/2952#issuecomment-436674478
 
 
   [HTTP spec](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2) designates the 501 response code to be used for a lack of *HTTP* functionality. That more or less means that the HTTP method used in the request isn't implemented by the server (*not* that the method is not available for an existing resource - that would entail a 405 response). The proper response code for a path that does not exist on the server is `404 Not Found`. Maybe we could use the `alerts` object instead?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services