Skip to content

404 rather than 405 or 200 - #962

Closed
matthew-pearson wants to merge 1 commit into
spring-projects:masterfrom
matthew-pearson:master
Closed

matthew-pearson wants to merge 1 commit into
spring-projects:masterfrom
matthew-pearson:master

Conversation

@matthew-pearson

Copy link
Copy Markdown
Contributor

Check that the path is valid and resolvable before checking that the http method is supported. For invalid or unresolvable paths, always respond with a 404.
Maybe OPTIONS should have 200 status, but I think the others would be better as 404.
I've raised this as a bug on Jira

Check that the path is valid and resolvable before checking that the
http method is supported. For invalid or unresolvable paths, always
respond with a 404.
@rstoyanchev

Copy link
Copy Markdown
Contributor

Merge. Note that I've rebased on top of the latest so you local fork will need to be reset with --hard. In general it's a good idea to use a branch for pull requests that you can then simply delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants