Updates protocol/use-appropriate-status-codes.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-06-19 08:55:59 +00:00
parent 5a31e816db
commit 67b0b5614e
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# Transport Layer Security (TLS) # Transport Layer Security (TLS)
Every API **MUST** require secure connections with TLS 1.2. That is, an API using the HTTP protocol **MUST** use **HTTPS**. Every API **MUST** require secure connections with **TLS 1.2**. That is, an API using the HTTP protocol **MUST** use **HTTPS**.
Any non-TLS requests **SHOULD** be ignored. In **HTTP** environments where this is not possible, a non-TLS request **SHOULD** result in the **403 Forbidden** response. Any non-TLS requests **SHOULD** be ignored. In **HTTP** environments where this is not possible, a non-TLS request **SHOULD** result in the **403 Forbidden** response.

View File

@@ -5,9 +5,9 @@ Every API designer, implementer and consumer **MUST** understand the semantic of
At a minimum everyone **MUST** be familiar with the semantics of ["Common" HTTP Status Codes](https://github.com/for-GET/know-your-http-well/blob/master/status-codes.md#common). At a minimum everyone **MUST** be familiar with the semantics of ["Common" HTTP Status Codes](https://github.com/for-GET/know-your-http-well/blob/master/status-codes.md#common).
--- #### Example
#### Example: Use Codes 4xx or 5xx to Communicate Errors #### Use Codes 4xx or 5xx to Communicate Errors
A request: A request:
``` ```