Commit Graph

26 Commits

Author SHA1 Message Date
default
0218e964b0 Backport from xs. 2024-08-30 19:10:26 +02:00
Louis Brauer
26fbda787d Translate status codes to canonical status texts
Use those in HTTP responses instead of "OK"/"ERROR".
Apps like Tokodon show only the status text in unexpected responses.
2024-05-27 19:01:04 +02:00
default
8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
00b019b890 Backport from xs. 2024-03-09 08:32:20 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
c314e995a4 Backport from xs. 2023-09-25 18:25:09 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
9c4e491497 Backport from xs. 2023-05-11 10:48:37 +02:00
default
11a89ef0f9 Backport from xs. 2023-04-20 12:46:59 +02:00
default
e144b0dc67 Add OK or ERROR to HTTP response. 2023-02-14 08:29:21 +01:00
default
876bebd9ac Backport from xs. 2023-01-28 17:49:02 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
Andrew Alderwick
75d0b1a932 Fix 500 errors in (OpenBSD) relayd. 2022-12-20 21:16:51 +00:00
default
aa82e14bc7 Backport from xs. 2022-12-11 10:33:01 +01:00
default
0337c71cf4 Backport from xs. 2022-12-11 09:46:27 +01:00
default
7336a8ee3e Updated RELEASE_NOTES. 2022-12-10 14:49:26 +01:00
default
fa870ab358 Backport from xs. 2022-10-25 09:32:41 +02:00
default
af95a58263 Some emoticon tweaks. 2022-10-16 20:23:01 +02:00
default
0d79e465e6 Use multipart/form-data for posts (on the way to supporting uploads). 2022-10-16 11:08:50 +02:00
default
a636cf8b25 New function static_get(). 2022-09-28 09:29:09 +02:00
default
b070d2d8f8 The HTTP request headers are stored in a plain dict. 2022-09-25 07:42:57 +02:00
default
1d694a245a xs_httpd_request() also returns the payload. 2022-09-23 20:28:23 +02:00
default
e5167b7b49 Renamed xs_splitn() to xs_split_n(). 2022-09-19 23:08:59 +02:00
default
67288a763b Imported xs. 2022-09-19 20:41:11 +02:00