Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method not allowed (405) but the response return not found (404) #1226

Open
tungtv202 opened this issue May 7, 2021 · 1 comment · May be fixed by #1234
Open

Method not allowed (405) but the response return not found (404) #1226

tungtv202 opened this issue May 7, 2021 · 1 comment · May be fixed by #1234

Comments

@tungtv202
Copy link

With simple example at https://github.com/perwendel/spark/blob/master/README.md#examples
When I curl a request with the not declare method. Ex:

curl --location --request PUT 'localhost:4567/hello'

The response return status 404, but not is 405

@Bugjudger
Copy link

Hello, I want to try to solve this problem

@Bugjudger Bugjudger linked a pull request May 20, 2021 that will close this issue
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 a pull request may close this issue.

2 participants