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
No thank you. It is generally considered that those constants were unnecessary. If you want to assert the method is PRI, the literal constant "PRI" is both more compact and more descriptive.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
Details
According to this documentation: https://httpwg.org/specs/rfc7540.html#n-pri-method-registration about http/2 there is a new HTTP method introduced called "PRI". This method however is not listed in https://github.com/golang/go/blob/b7e0adfee28b516a0dcceb5ecf0e5a695b38c61f/src/net/http/method.go.
Is a PR to add this method to the list welcome?
The text was updated successfully, but these errors were encountered: