(method)
| 7803 | var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'] |
| 7804 | |
| 7805 | function normalizeMethod(method) { |
| 7806 | var upcased = method.toUpperCase() |
| 7807 | return (methods.indexOf(upcased) > -1) ? upcased : method |
| 7808 | } |
| 7809 | |
| 7810 | function Request(input, options) { |
| 7811 | options = options || {} |