1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00
Commit Graph

4459 Commits

Author SHA1 Message Date
Rob Ede
d22c9f9fb1
update syn to 2 in web codegen (#3081) 2023-07-20 10:49:01 +01:00
dependabot[bot]
e25f3f8f1d
Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.3 (#3076)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 23:43:25 +01:00
dependabot[bot]
6d452d4977
Bump codecov/codecov-action from 1 to 3 (#3077)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 23:42:40 +01:00
Vasiliy Taranov
67cee2915d
set up dependabot (#3019)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 23:37:48 +01:00
Rob Ede
db99da5daf
do not compress media types (#3075)
* misc: add temporary nix file

* Add test to check content type image/*

* misc: add unit test for expected behaviour jpeg

* feat(compress): add compress function to middleware

* feat(compress): use response content type to decide compress

* feat(compress): give more control to the user

* misc: improve default compress function

* add Compress::with_predicate

* remove predicate options

* assert auto traits on Compress

* fix changelog

---------

Co-authored-by: William R. Arellano <arellanowr@gmail.com>
2023-07-19 20:24:32 +01:00
Nathan Shaaban
80185ce741
Hide authorization header in httprequest debug output (#2953)
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 18:51:17 +00:00
Rob Ede
4272510261
doc amendments 2023-07-19 19:27:20 +01:00
Kristian Gaylord
908fb2606e
allow configuring number of test server workers (#3069)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 16:48:43 +00:00
nerix
b061f00421
Provide documentation in the middleware module (#3070)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 10:24:14 +00:00
Rob Ede
3b9b38c44e
fix tempfile dep spec 2023-07-18 02:22:09 +01:00
Rob Ede
a4c9361791
ci: fix windows openssl 2023-07-18 02:18:43 +01:00
James Rowe
bf03207ca9
Add http2 optional feature (#3072)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-17 20:59:10 +00:00
Rob Ede
79a38e0628
apply standard formatting 2023-07-17 02:38:12 +01:00
Rob Ede
60c76c5e10
revert http2 feature flag change 2023-07-17 02:19:26 +01:00
Rob Ede
e4e839f4d1
only enable actix-http's http2 feature when TLS features are enabled
closes #3071
2023-07-17 01:51:10 +01:00
Rob Ede
c34a18f64a
changelog file is optional in bump script 2023-07-17 01:47:26 +01:00
mitsubosh
ce3af777a0
Fix typo (#3062) 2023-07-05 16:29:10 +00:00
Dylan DPC
0e8ed50e3a
align awc's h2 version (#3051)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-02 00:56:12 +00:00
Raminder Singh
4eeb01415c
Fix failing test on Windows (#3037) 2023-07-02 00:36:06 +00:00
Rob Ede
241da6e081
update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
Rob Ede
1072d0dacf
address lints 2023-06-09 15:15:09 +01:00
Imamuzzaki Abu Salam
58c19b817f
docs(actix-web/README.md): update benchmark link (#3046)
Round 20 doesn't have actix score, but round 21 has. So I changed it to the round 21 link for everyone to see this is one of the best frameworks for Web/API.
2023-06-09 14:29:10 +01:00
moh-eulith
17218dc6c8
minor optimization: reserve buffer once length is known (ws) (#2950) 2023-05-07 15:13:10 +00:00
Rob Ede
6fdda45ca3
update bitflags to v2 2023-05-06 11:38:51 +01:00
Rob Ede
8b2b755cde
fix guard mod docs 2023-05-06 11:37:11 +01:00
Yuki Okushi
de1efa673f
Refine GHA workflows (#3023) 2023-04-24 04:46:57 +09:00
Surya
5d4f591875
fix RUSTSEC-2023-0034 by updating h2 (#3022) 2023-04-22 12:53:35 +00:00
Rob Ede
e81dc768dc
expose h2c methods on HttpServer (#2999
* expose h2c methods on HttpServer

* update h2c docs
2023-04-06 03:11:28 +01:00
Rob Ede
97399e8c8c
simplify CI 2023-04-02 03:27:14 +01:00
Elijah
8dee8a1426
docs(actix-http-test): update test server example (#3007) 2023-03-31 18:09:13 +00:00
Rob Ede
e68f87f84f
add API diff to CI (#3002) 2023-03-15 13:32:55 +00:00
Rob Ede
0f3068f488
ci(windows): use choco to install openssl (#3003
ci: remove openssl install on windows
2023-03-15 05:39:02 +00:00
Rob Ede
5e29726c4f
standardize error messages in actix-http 2023-03-13 17:17:02 +00:00
Rob Ede
442fa279da
uncomment error variant 2023-03-13 14:30:21 +00:00
Rob Ede
bfdc29ebb8
normalize actix-files error messages 2023-03-13 14:22:50 +00:00
Rob Ede
0e7380659f
implement Error for BodyLimitExceeded 2023-03-13 13:40:09 +00:00
Rob Ede
44c5cdaa10
bound initial allocation in to_bytes_limited 2023-03-13 13:40:07 +00:00
Rob Ede
9e7a6fe57b
add body::to_bytes_limited (#3000
* add body::to_body_limit

* rename to_bytes_limited
2023-03-13 13:31:48 +00:00
Rob Ede
dfaca18584
add compression_responses benchmark (#3001) 2023-03-12 15:32:07 +00:00
Rob Ede
19c9d858f2
support 16 extractors 2023-03-12 04:29:22 +00:00
Rob Ede
4131786127
remove old benchmarks 2023-03-11 23:20:02 +00:00
Rob Ede
0ba147ef71
update actions/checkout to v3 2023-03-11 23:19:03 +00:00
Rob Ede
3fc01c4887
refactor server binding 2023-03-11 22:17:52 +00:00
Rob Ede
4c4024c949
fix minimal version specs for mime 2023-03-11 22:14:58 +00:00
Rob Ede
e0939a01fc
prepare actix-http release 3.3.1 2023-03-02 17:09:26 +00:00
Rob Ede
20c7c07dc0
fix http version req 2023-03-02 16:21:13 +00:00
Rob Ede
d7c6774ad5
add resource method helpers (#2978) 2023-03-02 08:22:22 +00:00
Rob Ede
67efa4a4db
migrate to doc_auto_cfg 2023-02-26 21:55:25 +00:00
Rob Ede
d77bcb0b7c
update date in unreleased changelog sections 2023-02-26 21:45:36 +00:00
Rob Ede
c4db9a1ae2
prepare actix-multipart release 0.6.0 2023-02-26 21:44:57 +00:00