Commit Graph

32 Commits

Author SHA1 Message Date
trinity-1686a 7f26ed55cd Improved handling of HTTP ranges
continuous-integration/drone/push Build is failing Details
- correct HTTP code when range syntax is invalid (fix #140)
- when multiple ranges are given, simply ignore and send whole file

Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com>
Reviewed-on: #157
Reviewed-by: Alex <alex@adnab.me>
Co-authored-by: trinity-1686a <trinity.pointard@gmail.com>
Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
2021-11-29 11:52:42 +01:00
Trinity Pointard 9c58ec28d3 add support for vhost-style s3 bucket 2021-11-16 15:41:41 +01:00
Alex ada7899b24
Fix clippy lints (fix #121)
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-10-26 10:20:05 +02:00
Trinity Pointard f8ae8fc4be
fix clippy warnings on web 2021-05-03 22:11:42 +02:00
Trinity Pointard a2e1617d84
document web crate 2021-04-27 16:37:10 +02:00
Trinity Pointard b4c903371c add support for caching headers
continuous-integration/drone/pr Build is failing Details
2021-03-18 15:46:33 +01:00
Alex 851893a3f2 Do not accept domains such as [hello 2021-01-15 17:49:10 +01:00
Quentin f8a40e8c4f Explicitly set code path unreachable 2021-01-15 17:11:15 +01:00
Quentin fad7bc405b Behavior problem: do not panic anymore + add tests 2021-01-15 17:03:54 +01:00
Quentin 2f4378a9c4 Fix formatting 2020-12-17 22:51:44 +01:00
Quentin 3132deca58 Web server access control 2020-12-17 20:43:14 +01:00
Quentin b7a377308b Handle HEAD 2020-11-21 17:58:14 +01:00
Quentin a88fd49f71 Use handle_get 2020-11-21 17:50:19 +01:00
Quentin 0f33231ee6 We are able to serve a file 2020-11-21 15:15:25 +01:00
Quentin d4c7f4e374 Fix host to key 2020-11-21 12:01:02 +01:00
Quentin 5b363626f4 Support punnycode 2020-11-20 21:23:32 +01:00
Quentin 04f455ff7f Make it compile again 2020-11-19 14:56:00 +01:00
Quentin 6076d869b1 Build error 2020-11-11 21:17:34 +01:00
Quentin 2765291796 Build path correctly 2020-11-11 19:48:01 +01:00
Quentin d445c4ef9c WIP fetch object 2020-11-11 15:24:25 +01:00
Quentin 3cb3994cd2 Add documentation to host_to_bucket 2020-11-10 17:05:10 +01:00
Quentin cacf8ddf2d Panic when it is a logical error 2020-11-10 15:52:20 +01:00
Quentin d1b2fcc1e7 Rewrite for clarity 2020-11-10 15:48:40 +01:00
Quentin ab62c59acb Fix indent again 2020-11-10 15:40:33 +01:00
Quentin 8797eed0ab Fixes due to integration tests 2020-11-10 15:32:04 +01:00
Quentin 1e52ee9f5b Rewrite authority to host while staying on stack 2020-11-10 15:26:48 +01:00
Quentin 27795a390c Fix formatting 2020-11-10 09:59:52 +01:00
Quentin 4093833ae8 Extract bucket 2020-11-10 09:57:07 +01:00
Quentin 09137fd6b5 Log host 2020-11-08 16:06:52 +01:00
Quentin c78df603d7 Add some documentation 2020-11-08 16:02:16 +01:00
Quentin 0791e7164e Parse host header 2020-11-08 15:47:25 +01:00
Quentin cea871d944 Skeleton to the new web API 2020-11-02 15:48:39 +01:00