Commit Graph

4252 Commits

Author SHA1 Message Date
edgerunnergit 6fe1b1e956 removed a non-needed comment 2023-02-04 09:53:40 +05:30
edgerunnergit 813b8bb749 Merge branch 'custom_methods' of github.com:edgerunnergit/actix-web into custom_methods 2023-02-04 09:48:52 +05:30
edgerunnergit 28d928a660 use existing Method guard instead of creating a new Custom gueard 2023-02-04 09:43:25 +05:30
edgerunnergit 2f17de6013 use existing Method guard instead of creating a new Custom gueard 2023-02-04 09:41:13 +05:30
edgerunnergit 7115c29a55
Merge branch 'master' into custom_methods 2023-02-04 09:27:25 +05:30
Rob Ede b933ed4456
add tests for files_listing_renderer 2023-02-03 21:04:07 -05:00
Rob Ede 4bff1d0abe
require safe tokio version range
see https://rustsec.org/advisories/RUSTSEC-2023-0005
2023-02-03 20:35:19 -05:00
Rob Ede f86afa1e51
fmt 2023-01-31 14:41:01 +00:00
edgerunnergit d6a09f0bed fixed a test - that should be able to pass 2023-01-31 08:14:41 +05:30
Rob Ede 45035e825a
Merge branch 'master' into custom_methods 2023-01-30 17:09:39 +00:00
edgerunnergit 27a6037341 rename the test-file 2023-01-30 22:30:10 +05:30
edgerunnergit 47d1302935 fix a test for custom method that should pass 2023-01-30 22:26:53 +05:30
Rob Ede fa106da555
refactor: move Host guard into own module 2023-01-30 11:36:12 -05:00
Rob Ede 684dcd807b
Update CHANGES.md 2023-01-30 13:10:11 +00:00
Rob Ede facd0c58d3
Merge branch 'master' into custom_methods 2023-01-30 13:09:35 +00:00
edgerunnergit 38805b9b87 resolve changes.md conflicts for actix-web 2023-01-30 14:35:17 +05:30
edgerunnergit d358919902 added docs, tests and updates to changes.md 2023-01-30 10:53:20 +05:30
edgerunnergit 63d49febea added support for creating custom methods with route macro 2023-01-25 15:16:07 +05:30
Rob Ede c15016dafb
prepare actix-files release 0.6.3 2023-01-21 19:03:19 +00:00
Rob Ede 74688843ba
prepare actix-http-test release 3.1.0 2023-01-21 19:01:14 +00:00
Rob Ede 845156da85
prepare actix-web-actors release 4.2.0 2023-01-21 19:01:08 +00:00
Rob Ede 98752c053c
prepare actix-multipart release 0.5.0 2023-01-21 18:59:13 +00:00
Rob Ede df6fde883c
prepare actix-web release 4.3.0 2023-01-21 18:57:42 +00:00
Rob Ede 8d4cb8c69a
prepare awc release 3.1.0 2023-01-21 18:54:58 +00:00
Rob Ede dd9ac4d9b8
prepare actix-http release 3.3.0 2023-01-21 18:52:57 +00:00
Rob Ede 72c80f9107
update tokio-uring support to 0.4 2023-01-21 18:46:44 +00:00
citreae535 b00fe72cf6
Update base64 to 0.21 (#2966)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-21 01:36:08 +00:00
cumtyc 2f0b8a264a
fix non-empty body of http2 HEAD response (#2920)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-21 00:51:49 +00:00
Rob Ede b9f0faafde
add cache-status and cdn-cache-control header names (#2968)
* add cache-status and cdn-cache-control header names

* fix changelog

* update docs with rfc numbers
2023-01-21 00:02:54 +00:00
Zach 6627109984
Add fallible versions of test_utils helpers to actix-test (#2961)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-11 11:43:51 +00:00
Rob Ede b9f54c8796
use secure tokio version range
see RUSTSEC-2023-0001

fixes #2962
2023-01-10 08:58:38 +00:00
Nikolai Vazquez cfd40b4f15
Implement `MessageBody` for `Cow<'static, {[u8], str}>` (#2959) 2023-01-06 21:56:16 +00:00
Rob Ede 08c2cdf641
http service finalizer for automatic h2c detection (#2957)
* http service finalizer for automatic h2c detection

* update changelog

* add h2c auto test
2023-01-03 14:43:02 +00:00
Rob Ede fbd0e5dd0a
add headermap::retain (#2955)
* add headermap::retain

* update changelog and docs

* fix retain doc test
2023-01-02 13:38:07 +00:00
Rob Ede 7b936bc443
add some useful header name constants (#2956) 2023-01-02 13:33:31 +00:00
Rob Ede d2364c80c4
improve error handling on new new example 2023-01-02 00:16:59 +00:00
Rob Ede 77459ec415
add h2c example 2023-01-02 00:14:25 +00:00
Rob Ede 6f0a6bd1bb
address clippy lints
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
Rob Ede 06c3513bc0
add Allow header to resource's default 405 handler (#2949) 2022-12-21 20:28:45 +00:00
Rob Ede 29bd6a1dd5
fix version requirement for futures_util 2022-12-18 01:34:48 +00:00
Rob Ede 17f7cd2aae
bump zstd to 0.12 2022-12-18 01:31:06 +00:00
Rob Ede ede645ee4e
bump criterion to 0.4 2022-12-18 01:11:04 +00:00
Rob Ede 6d48593a60
fix doc tests 2022-11-25 23:28:31 +00:00
Rob Ede 3c69d078b2
add redirect service (#1961) 2022-11-25 21:44:52 +00:00
Rob Ede e7c34f2e45
tweak form docs 2022-11-25 21:38:57 +00:00
Rob Ede d708a4de6d
add acceptable guard (#2265) 2022-11-25 21:04:24 +00:00
Rob Ede d97bd7ec17
fix msrv CI 2022-11-25 17:37:23 +00:00
Rob Ede fcd06c9896
workaround zstd msrv issue 2022-11-25 17:28:06 +00:00
Rob Ede 1065043528
ci: use dtolnay's rust-toolchain action 2022-11-25 17:00:59 +00:00
Alex 45b77c6819
GitHub Workflows security hardening (#2923) 2022-11-04 00:42:22 +00:00