mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
9c8c4c83f6
commit
f2a09a457f
5 changed files with 183 additions and 184 deletions
|
|
@ -52,9 +52,14 @@ https://bob.org # ❌️ Invalid: protocol is not allowed
|
|||
## Redirects
|
||||
|
||||
API endpoints **MUST NOT** redirect to other endpoints, with the following exceptions:
|
||||
- HTTP to HTTPS redirects (upgrading insecure requests).
|
||||
- When the request does not have an `Accept: application/vnd.versia+json` header, the server **MAY** redirect to an HTML representation of the resource.
|
||||
|
||||
<Warning>
|
||||
HTTP to HTTPS redirects are **NOT** allowed for API endpoints.
|
||||
|
||||
This is to force all API communication to be encrypted, and to avoid accidentally leaking sensitive data over unencrypted connections.
|
||||
</Warning>
|
||||
|
||||
This is forbidden:
|
||||
|
||||
```http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue