Commit graph

27 commits

Author SHA1 Message Date
245131ee27
add support for sending data other than text 2024-01-14 19:38:38 +00:00
bb880abb17
0.5.1: use packeteer for requests and fix directory index generation 2023-10-20 12:32:41 +01:00
9b8eee2a23
rework to use packeteer and fix status codes, clean up code 2023-10-19 11:24:36 +01:00
ba06ad686a
0.4.2: If there is no query string for CGI then the QUERY_STRING env var isn't set. 2022-09-17 09:37:42 +01:00
66dfbd2291
switch 403 forbidden to 500 Internal Server Error 2022-08-28 10:54:00 +01:00
2823990ec8
Fix CGI implementation 2022-08-28 10:42:32 +01:00
60af42f3fa
Decorate index page. 2021-12-26 18:27:56 +00:00
9f28bcdb84
Remove debug print statements. 2021-12-26 17:31:46 +00:00
736c1e6546
Implement dynamic content via CGI and fix media type detection errors with server error pages. 2021-12-26 17:29:34 +00:00
8088fcdde6
Implement per-stream threading 2021-12-24 21:30:39 +00:00
7ad6eb64b3
Add autoswitch for time field to disable on non-Unix systems to prevent potential crashes. 2021-12-22 20:38:36 +00:00
3d0f673e19
Add date field but only on Unix hosts. Sorry friens who use Windows! 2021-12-22 20:30:53 +00:00
14ee095313
Whoops, how'd that get in there :) 2021-12-22 20:03:34 +00:00
00b3e628ae
Add media type detection and server fields. 2021-12-22 20:02:09 +00:00
a6f5fba33b
Bind on everything 2021-10-16 15:20:33 +01:00
96189b04ad
Directory index generation works 2021-09-05 16:16:07 +01:00
04e019b00e Handle URL rewriting for subdirectories containing index.html 2021-09-02 18:13:37 +01:00
00ebb833aa Remove debug messages as I went insane trying to fix the tiny CRLF problem in process_request() 2021-09-02 17:28:07 +01:00
c0612dad5d Bad requests are handled with 503 errors and process_request() now removes character returns and line feeds at the end of a request :) 2021-09-02 17:25:53 +01:00
0ef8e438db And the resource has been isolated! 2021-09-02 16:25:13 +01:00
cf0066abce Stack Overflow, what would I ever do without you? 2021-09-02 16:18:23 +01:00
2612f1d679 Requests can now be parsed and compiler warnings are fewer. 2021-09-02 16:16:38 +01:00
1e377125f8 Handle filesystem errors by presuming 404. 2021-08-30 17:32:44 +01:00
9d99683f3a Reading the stream is successful. 2021-08-30 17:18:22 +01:00
0e4dc6b834 Reading from filesystem is successful. 2021-08-30 16:17:11 +01:00
2d0ce61654 ZOMG IT WERKS 2021-08-29 16:07:05 +01:00
3cd3a4abb1 Cargo init 2021-08-29 15:18:20 +01:00