Skip to content

Use uppercase HTTP methods in tests - #918

Open
GrahamCampbell wants to merge 1 commit into
twilio:mainfrom
GrahamCampbell:gc/uppercase-http-method-tests
Open

Use uppercase HTTP methods in tests#918
GrahamCampbell wants to merge 1 commit into
twilio:mainfrom
GrahamCampbell:gc/uppercase-http-method-tests

Conversation

@GrahamCampbell

@GrahamCampbell GrahamCampbell commented May 24, 2026

Copy link
Copy Markdown

Update lowercase HTTP methods to uppercase. The reason for this is that these are case sensitive according to the spec, and we are using the wrong case. Guzzle's PSR7 2.x library silently converts to uppercase, however from 2.11.0 I have added a deprecation warning that this behaviour is stopping, and 3.0.0 will no longer do this.

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.

1 participant