code: function normalizeMethodName(method) {
      if (typeof method !== 'string')
          return method;
      switch (method.toUpperCase()) {
          case 'GET':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Get;
          case 'POST':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Post;
          case 'PUT':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Put;
          case 'DELETE':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Delete;
          case 'OPTIONS':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Options;
          case 'HEAD':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Head;
          case 'PATCH':
              return __WEBPACK_IMPORTED_MODULE_0__enums__["b" /* RequestMethod */].Patch;
      }
      throw new Error("Invalid request method. The method \"" + method + "\" is not supported.");
  }
docs: @license
  Copyright Google Inc. All Rights Reserved.
  
  Use of this source code is governed by an MIT-style license that can be
  found in the LICENSE file at https://angular.io/license
   
  @param {?} method
  @return {?}