(methodInt int)
| 932 | } |
| 933 | |
| 934 | func (app *App) method(methodInt int) string { |
| 935 | return app.config.RequestMethods[methodInt] |
| 936 | } |
| 937 | |
| 938 | // IsMethodSafe reports whether the HTTP method is considered safe. |
| 939 | // See https://datatracker.ietf.org/doc/html/rfc9110#section-9.2.1 |