Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: WebAPI returning 405 in cases that should be 404 [1130]

$
0
0
Sometimes WebAPI returns 405 in cases where it should return 404. If there is no possible verb to satisfy a URL, then it should be 404.

Consider an empty controller:
class TestController : ApiController {
}

Today. calls to GET Api/Test will return a 405. It should be 404.


Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>