1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
Commit Graph

4322 Commits

Author SHA1 Message Date
Rob Ede
d8df60bf4c
build: add justfile 2023-08-03 07:03:42 +01:00
Rob Ede
eaabe7e686
ci: reinstate coverage 2023-08-03 06:58:31 +01:00
Rob Ede
12dbda986e
test: fix test_h2_connection_drop spurious hang
fixes #3061
2023-08-03 06:54:50 +01:00
Rob Ede
1c60978a89
chore: move codecov file 2023-08-03 06:28:45 +01:00
Rob Ede
b4fcdffdc3
chore: update msrv to 1.68 (#3094) 2023-08-01 19:33:32 +01:00
Rob Ede
605cd7c540
add startup logging to basic example 2023-08-01 18:06:59 +01:00
Rob Ede
75a97f6b32
chore: remove clippy config file 2023-07-24 03:29:56 +01:00
Rob Ede
ff8fd2f7b5
modernize ContentLength 2023-07-22 18:01:59 +01:00
Rob Ede
6a0ea51b15
add ContentLength typed header (#2490) 2023-07-22 03:16:01 +01:00
Rob Ede
8cdbab3416
refactor: remove web dev dep from http-test 2023-07-22 02:02:37 +01:00
Rob Ede
146011018e
add payload to_bytes helpers (#3083) 2023-07-22 02:02:29 +01:00
Rob Ede
3eb5a059ad
chore: address clippy warnings 2023-07-20 11:42:20 +01:00
cyqsimon
1040bc3d17
Add missing status code constructor methods on HttpResponse (#3042) 2023-07-20 10:36:49 +00:00
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