Urara-Blog/node_modules/.pnpm-store/v3/files/2f/7ae9bd3230817ff7a3562956f4420fe1e56f160014ab1e67f04b58e8f9a45b9ca88c87434b92f260a19169e46428cd1ae5a209e0812812e24b5d65209af707
2022-08-14 01:14:53 +08:00

32 lines
624 B
Text

/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
import '../_version.js';
/**
* The default HTTP method, 'GET', used when there's no specific method
* configured for a route.
*
* @type {string}
*
* @private
*/
export const defaultMethod = 'GET';
/**
* The list of valid HTTP methods associated with requests that could be routed.
*
* @type {Array<string>}
*
* @private
*/
export const validMethods = [
'DELETE',
'GET',
'HEAD',
'PATCH',
'POST',
'PUT',
];