Skip to content

Commit b08db2d

Browse files
authored
Added HTTP 4xx reasons
1 parent e0de760 commit b08db2d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/application-gateway/http-response-codes.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ HTTP 400 response codes are commonly observed when:
4545
- Non-HTTP / HTTPS traffic is initiated to an application gateway with an HTTP or HTTPS listener.
4646
- HTTP traffic is initiated to a listener with HTTPS, with no redirection configured.
4747
- Mutual authentication is configured and unable to properly negotiate.
48-
- Not compliant to RFC.
48+
- The request is not compliant to RFC.
4949

5050
Some of the common reasons for the request to be non-compliant to RFC is listed.So review the urls/requests from the clients and ensure it's compliant to RFC.
5151
| Category | Examples |
5252
| ---------- | ---------- |
53-
| Invalid Host in request line | Host containing two colons (example.com:8090:8080) |
53+
| Invalid Host in request line | Host containing two colons (example.com:**8090:8080**) |
5454
| Missing Host Header | Request doesn't have Host Header |
55-
| Presence of malformed or illegal character | Reserved characters are &,!. Workaround is to percent code it like %& |
56-
| Invalid HTTP version | Get /content.css HTTP/0.3 |
57-
| Header field name and URI contains non-ASCII Character | GET /«úü¡»¿.doc HTTP/1.1 |
58-
| Missing Content Length header for POST request | NA |
59-
| Invalid HTTP Method | GET123 / HTTP/1.1 |
60-
| Duplicate Headers | Authorization: <based64 encoded content> , Authorization: <based64 encoded content> |
61-
| Invalid value in Content-Length | Content-Length: abc |
55+
| Presence of malformed or illegal character | Reserved characters are **&,!.** Workaround is to percent code it like %& |
56+
| Invalid HTTP version | Get /content.css HTTP/**0.3** |
57+
| Header field name and URI contains non-ASCII Character | GET /**«úü¡»¿**.doc HTTP/1.1 |
58+
| Missing Content Length header for POST request | Self Explanatory |
59+
| Invalid HTTP Method | **GET123** /index.html HTTP/1.1 |
60+
| Duplicate Headers | Authorization:\<base64 encoded content\>,Authorization: \<base64 encoded content\> |
61+
| Invalid value in Content-Length | Content-Length: **abc**,Content-Length: **-10**|
6262

6363

6464

0 commit comments

Comments
 (0)