Commit Graph

23 Commits (9f399b04407fb55c0926c61437aa90a2557c5551)

Author SHA1 Message Date
_ 9f399b0440 ♻️ Extract file_server module 2020-10-30 17:38:23 -05:00
_ 6d3a5ac9ba ♻️ Extract serve_all func 2020-10-30 17:25:22 -05:00
_ 325f68b566 ♻️ Make the server's inner handlers look more like a regular Hyper server 2020-10-30 17:11:35 -05:00
_ 1615f0d075 🚧 checkpoint 2020-10-30 17:01:37 -05:00
_ 2e2e6a5f32 Use percent encoding for spaces in file names 2020-10-30 16:46:03 -05:00
_ 8a301a6d03 🚧 Can index directories now, but a lot of stuff is missing 2020-10-29 13:31:13 +00:00
_ af226cb36c 🚧 Working on directory indexes 2020-10-29 13:19:14 +00:00
_ 6f31c93c1f ♻️ 2020-10-29 12:45:35 +00:00
_ 9dd2155d7a 🐛 Add 404 page for missing file instead of gateway timeout 2020-10-29 12:24:05 +00:00
_ ec5b770ae3 ♻️ Extract serve_file fn 2020-10-29 12:17:40 +00:00
_ 1e6c29fb01 Byte ranges are properly advertised and served.
This means Firefox can seek video / audio served by us.
To think, you used to need Flash to do this.
2020-10-27 22:05:19 -05:00
_ aa183de15e Impl HEAD method 2020-10-27 21:43:12 -05:00
_ 9e3470d5b4 ❇️ content-length response header 2020-10-27 21:33:03 -05:00
_ 4c03e6d32a ❇️ Sending the ResponseParts back through a header.
Do you feel like a hero yet?
2020-10-27 21:29:15 -05:00
_ 1e86e9735e ♻️ Towards response headers and status code 2020-10-27 21:10:40 -05:00
_ d286adadc9 ❇️ You can now actually request different files 2020-10-27 20:39:02 -05:00
_ 406b13c3b1 ♻️ Package interesting request fields into MsgPack 2020-10-27 20:20:06 -05:00
_ cab36c7a19 Actually it works okay, I was just off on my estimate of how big videos are.
Still needs to support byte range, too.
2020-10-27 13:26:40 +00:00
_ b9db10b76a 🚧 Set up streaming on the relay
however it doesn't pass a smoke test for video streaming yet
2020-10-27 13:04:28 +00:00
_ 587849bcfa Sending a picture to the client. Streaming works on the server but not yet on the relay 2020-10-27 03:58:50 +00:00
_ eaca19f6ba Fix it up so the response body goes through a POST body instead 2020-10-27 03:36:52 +00:00
_ 0cc61796c0 Concept is proven, though it won't work for streaming 2020-10-27 03:27:25 +00:00
_ e3aa61bb9a Decided to go straight for the reverse HTTP server idea 2020-10-27 02:49:12 +00:00