We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83cde24 commit 7ce82d0Copy full SHA for 7ce82d0
handler.go
@@ -65,7 +65,7 @@ func NewRequestOptions(r *http.Request) *RequestOptions {
65
return reqOpt
66
}
67
68
- if r.Method != "POST" {
+ if r.Method != http.MethodPost {
69
return &RequestOptions{}
70
71
0 commit comments