@haensl/http
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -18,2 +18,18 @@ { | ||
"accept": "Accept", | ||
"accessControl": { | ||
"allow": { | ||
"credentials": "Access-Control-Allow-Credentials", | ||
"origin": "Access-Control-Allow-Origin", | ||
"methods": "Access-Control-Allow-Methods", | ||
"headers": "Access-Control-Allow-Headers" | ||
}, | ||
"expose": { | ||
"headers": "Access-Control-Expose-Headers" | ||
}, | ||
"maxAge": "Access-Control-Max-Age", | ||
"request": { | ||
"headers": "Access-Control-Request-Headers", | ||
"method": "Access-Control-Request-Method" | ||
} | ||
}, | ||
"authorization": "Authorization", | ||
@@ -20,0 +36,0 @@ "contentType": "Content-Type", |
{ | ||
"name": "@haensl/http", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Simple JSON object of common HTTP headers, status codes and methods.", | ||
@@ -5,0 +5,0 @@ "main": "index.json", |
@@ -80,2 +80,10 @@ # @haensl/http | ||
"accept": "Accept", | ||
"accessControl": { | ||
"allow": { | ||
"origin": "Access-Control-Allow-Origin", | ||
"methods": "Access-Control-Allow-Methods" | ||
// ... | ||
}, | ||
// ... | ||
}, | ||
"authorization": "Authorization", | ||
@@ -93,2 +101,4 @@ "contentType": "Content-Type", | ||
### [JSON](index.json) | ||
**Attention:** This JSON object is not exhaustive(, yet)! If you need a status code, header or method added, please [create a feature request](https://github.com/haensl/http/issues/new?labels=feature%20request) | ||
@@ -95,0 +105,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6289
46
106