Skip to content

Commit bbc1953

Browse files
slusarzsirainen
authored andcommitted
lib-http: Internal HTTP codes need to live in core, so Pro docs can access them
1 parent f9110e2 commit bbc1953

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/developers/design/http.md renamed to docs/core/admin/http.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
---
22
layout: doc
3-
title: lib-http
3+
title: HTTP Client
44
dovecotlinks:
5-
lib_http: lib-http
65
lib_http_response_codes:
76
hash: internal-http-response-codes
87
text: "Dovecot HTTP Internal Response Codes"
98
---
109

11-
# lib-http
10+
# Dovecot HTTP Client
11+
12+
HTTP requests within Dovecot are performed using its internal HTTP client
13+
(internally referred to as "lib-http").
1214

1315
## Internal HTTP Response Codes
1416

17+
Dovecot's lib-http uses custom HTTP response codes for some error
18+
conditions.
19+
20+
In certain locations, e.g. [[link,lua_lib-http]], these codes may be visible
21+
to an admin or in logging, so these response codes must be handled in the
22+
same way that standard RFC codes are.
23+
1524
| Number | Code | Description |
1625
| ------ | ---- | ----------- |
1726
| 9000 | ABORTED | The request was aborted. |

0 commit comments

Comments
 (0)