(method: string)
| 69 | export function hasBody(method: HttpMethod): method is HttpMethod.WithBody |
| 70 | export function hasBody(method: string): boolean |
| 71 | export function hasBody(method: string): boolean { |
| 72 | return method !== "GET" && method !== "HEAD" && method !== "OPTIONS" && method !== "TRACE" |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Provides a readonly set containing every supported `HttpMethod` literal. |
no outgoing calls
no test coverage detected