(method)
| 343 | var methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'] |
| 344 | |
| 345 | function normalizeMethod(method) { |
| 346 | var upcased = method.toUpperCase() |
| 347 | return methods.indexOf(upcased) > -1 ? upcased : method |
| 348 | } |
| 349 | |
| 350 | export function Request(input, options) { |
| 351 | if (!(this instanceof Request)) { |
no outgoing calls
no test coverage detected
searching dependent graphs…