Is returns the matching content type, if the incoming request's Content-Type HTTP header field matches the MIME type specified by the type parameter
(extension string)
| 121 | // Is returns the matching content type, |
| 122 | // if the incoming request's Content-Type HTTP header field matches the MIME type specified by the type parameter |
| 123 | Is(extension string) bool |
| 124 | // Locals makes it possible to pass any values under keys scoped to the request |
| 125 | // and therefore available to all following routes that match the request. |
| 126 | // |
no outgoing calls