@whitesev/utils 2.6.4 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.amd.js +7061 -7130
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +7059 -7128
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7057 -7126
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +7062 -7131
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +7064 -7133
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +7065 -7134
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/Httpx.d.ts +176 -170
- package/dist/types/src/types/Httpx.d.ts +15 -1
- package/package.json +1 -1
- package/src/Httpx.ts +48 -159
- package/src/Utils.ts +1 -1
- package/src/types/Httpx.d.ts +15 -1
package/src/types/Httpx.d.ts
CHANGED
|
@@ -62,6 +62,19 @@ export type HttpxStatus =
|
|
|
62
62
|
| 510
|
|
63
63
|
| 511;
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* HTTP WebDav的请求方法
|
|
67
|
+
* + https://blog.csdn.net/weixin_48421613/article/details/128611546
|
|
68
|
+
*/
|
|
69
|
+
export type HttpxWebDavMethod =
|
|
70
|
+
| "PROPFIND"
|
|
71
|
+
| "PROPPATCH"
|
|
72
|
+
| "MKCOL"
|
|
73
|
+
| "MOVE"
|
|
74
|
+
| "COPY"
|
|
75
|
+
| "LOCK"
|
|
76
|
+
| "UNLOCK";
|
|
77
|
+
|
|
65
78
|
/**
|
|
66
79
|
* HTTP 请求方法
|
|
67
80
|
* + https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods
|
|
@@ -75,7 +88,8 @@ export type HttpxMethod =
|
|
|
75
88
|
| "CONNECT"
|
|
76
89
|
| "OPTIONS"
|
|
77
90
|
| "TRACE"
|
|
78
|
-
| "PATCH"
|
|
91
|
+
| "PATCH"
|
|
92
|
+
| HttpxWebDavMethod;
|
|
79
93
|
|
|
80
94
|
/**
|
|
81
95
|
* 重定向参数
|