(method)
| 318 | var methods = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; |
| 319 | |
| 320 | function normalizeMethod(method) { |
| 321 | var upcased = method.toUpperCase(); |
| 322 | return methods.indexOf(upcased) > -1 ? upcased : method; |
| 323 | } |
| 324 | |
| 325 | function Request(input, options) { |
| 326 | options = options || {}; |