Skip to content

Commit ee32c4c

Browse files
committed
docs: add changelog
1 parent b6f360d commit ee32c4c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

user_guide_src/source/changelogs/v4.5.0.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ BREAKING
2121
Behavior Changes
2222
================
2323

24+
Lowercase HTTP Method Name
25+
--------------------------
26+
27+
For historical reasons, the framework used HTTP method names in lower case like
28+
"get", "post".
29+
But the method token is case-sensitive because it might be used as a gateway
30+
to object-based systems with case-sensitive method names. By convention,
31+
standardized methods are defined in all-uppercase US-ASCII letters.
32+
See https://www.rfc-editor.org/rfc/rfc9110#name-overview.
33+
34+
Now the framework uses the correct HTTP method names like "GET", "POST".
35+
36+
- ``Request::getMethod()`` returns uppercase HTTP methods.
37+
- ``CURLRequest::request()`` does not change the accepted HTTP methods to uppercase.
38+
39+
See :ref:`upgrade-450-lowercase-http-method-name` for details.
40+
2441
Filter Execution Order
2542
----------------------
2643

0 commit comments

Comments
 (0)