You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTPMethod only holds 9 methods currently, which is the 8 methods in RFC 9110, plus PATCH.
I'd assume that cpython doesn't want to track every single method in the registry, so it wouldn't make sense to add this one unless it became very common (e.g. PATCH is used in many REST APIs).
HTTPMethod only holds 9 methods currently, which is the 8 methods in RFC 9110, plus PATCH.
I'd assume that cpython doesn't want to track every single method in the registry, so it wouldn't make sense to add this one unless it became very common (e.g. PATCH is used in many REST APIs).
I definitely would not like to have all IANA methods, but 9110 plus PATCH plus QUERY, which is why I made this PR. QUERY has been a long time coming and I'm sure will see strong adoption. Especially because cpython has long release cycles (it will be quite some time before everyone will be on 3.16) I think it's the best time to add QUERY right now.
Activity
Dreamsorcerer commentedon Jul 16, 2026
HTTPMethod only holds 9 methods currently, which is the 8 methods in RFC 9110, plus PATCH.
I'd assume that cpython doesn't want to track every single method in the registry, so it wouldn't make sense to add this one unless it became very common (e.g. PATCH is used in many REST APIs).
mbeijen commentedon Jul 16, 2026
I definitely would not like to have all IANA methods, but 9110 plus PATCH plus QUERY, which is why I made this PR. QUERY has been a long time coming and I'm sure will see strong adoption. Especially because cpython has long release cycles (it will be quite some time before everyone will be on 3.16) I think it's the best time to add QUERY right now.
Add HTTP QUERY method (RFC 10008) to http library
Add HTTP QUERY method (RFC 10008) to http library