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

chore: change transport::http::response::method_not_allowed message #1452

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

dcfreire
Copy link
Contributor

@dcfreire dcfreire requested a review from a team as a code owner September 11, 2024 14:50
@jsdw
Copy link
Collaborator

jsdw commented Sep 19, 2024

I thougght options might be in the error for CORS but that's just middleware now anyway right?

@niklasad1
Copy link
Member

I thougght options might be in the error for CORS but that's just middleware now anyway right?

Yes, correct

@niklasad1
Copy link
Member

The function is only used https://github.com/paritytech/jsonrpsee/blob/master/server/src/transport/http.rs#L84-#L109 and this changed error message is "more accurate"

@niklasad1 niklasad1 merged commit f70c8c8 into paritytech:master Sep 20, 2024
10 checks passed
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.

3 participants