source: frontend/node_modules/workbox-routing/utils/constants.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 624 bytes
Line 
1/*
2 Copyright 2018 Google LLC
3
4 Use of this source code is governed by an MIT-style
5 license that can be found in the LICENSE file or at
6 https://opensource.org/licenses/MIT.
7*/
8import '../_version.js';
9/**
10 * The default HTTP method, 'GET', used when there's no specific method
11 * configured for a route.
12 *
13 * @type {string}
14 *
15 * @private
16 */
17export const defaultMethod = 'GET';
18/**
19 * The list of valid HTTP methods associated with requests that could be routed.
20 *
21 * @type {Array<string>}
22 *
23 * @private
24 */
25export const validMethods = [
26 'DELETE',
27 'GET',
28 'HEAD',
29 'PATCH',
30 'POST',
31 'PUT',
32];
Note: See TracBrowser for help on using the repository browser.