Skip to content

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

Merged
niklasad1 merged 2 commits intoparitytech:masterfrom
dcfreire:patch-1
Sep 20, 2024
Merged

chore: change transport::http::response::method_not_allowed message#1452
niklasad1 merged 2 commits intoparitytech:masterfrom
dcfreire:patch-1

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
Contributor

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

Yes, correct

@niklasad1
Copy link
Contributor

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"

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