Commit Graph

27 Commits

Author SHA1 Message Date
88ea929288 http: Fix header values only being written during a redirect 2025-03-27 18:28:04 -04:00
22ad9ccec5 Change out usync.Locker for usync.Monitor 2025-02-05 21:45:32 -05:00
851931d518 http: Hmmm 2024-12-27 01:01:08 -05:00
d4ae9d90d5 http: Improve a comment 2024-12-27 00:22:02 -05:00
6c73ec0f88 http: Don't modify req, create clone instead 2024-12-27 00:16:50 -05:00
0c8c34d81d http: Don't add rate limit entries for things that aren't limited 2024-12-26 23:37:54 -05:00
549958270c http: Fix logging of proxied requests 2024-12-26 22:46:01 -05:00
2d5dbc50b3 http: Change how HTTPResponseRecorder works 2024-12-20 20:27:30 -05:00
1f4943bc12 Switch away from archived goutil 2024-12-18 10:57:04 -05:00
ee0bb7e54b http: Should have been in the last commit 2024-12-15 19:21:26 -05:00
303adcd02a http: Actually write the status on error pages LOL 2024-12-14 16:29:44 -05:00
95e60f477a Fix handling of forwarded requests 2024-12-14 16:17:57 -05:00
9858fc4f17 http: Fix remoteAddr 2024-12-14 01:06:13 -05:00
5124e6f8f7 http: Add UnderlyingResponseWriter function 2024-12-13 21:18:29 -05:00
67d4f8a10a Add support for HTTP rate limiting
Closes #16
2024-12-12 03:10:30 -05:00
efc3fc0990 http: Add an HTTP redirect senteniel error 2024-12-10 21:32:12 -05:00
bf668b0cf7 Things I did while unable to commit
- Log rotation
- Execution cancellation
- HTTP redirect, error functions
- Changed naming of document parsing/loading functions
2024-12-10 20:37:40 -05:00
70a1194bca http: Add the ability to serve a directory 2024-12-10 02:11:45 -05:00
7480742e9e http: Add mechanism to forbid certain files/directories 2024-12-10 00:38:47 -05:00
380a5b9223 Metadata keys can have multiple values
Closes #6
2024-12-09 15:53:29 -05:00
67480bb974 Rename FrontMatter to Meta 2024-12-09 02:22:37 -05:00
efb1f455c9 http: Wrap the recorder instead of the actual response writer 2024-12-08 01:55:02 -05:00
6f635825a9 http: Make methods of .Data.Res actually work 2024-12-08 01:50:15 -05:00
889850c04c Move all http stuff into the http package 2024-12-08 01:01:10 -05:00
a7b360cc09 http: Error template documents are supported 2024-12-07 03:10:45 -05:00
62885b2e37 http: Handler now uses redirects to ensure dirs end on a / 2024-12-07 02:34:40 -05:00
7c9e1a429e Move handler out of cmd and into separate pacakge 2024-12-07 02:27:34 -05:00