1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
Commit Graph

4285 Commits

Author SHA1 Message Date
William R. Arellano
a3ec0ccf99 misc: improve default compress function 2023-03-14 22:21:18 -05:00
William R. Arellano
e9a1aeebce feat(compress): give more control to the user 2023-03-14 22:00:08 -05:00
William R. Arellano
14b09e35d1 feat(compress): use response content type to decide compress 2023-03-14 21:55:15 -05:00
William R. Arellano
2bfc170fb0 feat(compress): add compress function to middleware 2023-03-14 16:40:33 -05:00
William R. Arellano
42fd6290d6
Merge branch 'actix:master' into fix-compression-middleware-images 2023-03-14 16:06:27 -05: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
William R. Arellano
c96844ab14 misc: add unit test for expected behaviour jpeg 2023-03-07 21:11:41 -05:00
William R. Arellano
68adcf657a Add test to check content type image/* 2023-03-07 20:32:37 -05:00
William R. Arellano
99bccb74ac misc: add temporary nix file 2023-03-07 20:32:20 -05: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
Rob Ede
740d0c0c9d
prepare actix-multipart-derive release 0.6.0 2023-02-26 21:44:14 +00:00
Rob Ede
f27584046c
add todo for header names in next breaking release 2023-02-26 16:31:40 +00:00
Rob Ede
129b78f9c7
prepare actix-test release 0.1.1 2023-02-26 14:20:48 +00:00
Rob Ede
ad27150c5f
fix doc tests 2023-02-26 14:14:04 +00:00
Rob Ede
8d5d6a2598
tweak err handlers docs 2023-02-26 13:28:19 +00:00
Rob Ede
e97329eb2a
bump socket2 dep to 0.5 2023-02-26 13:28:19 +00:00
Kristian Gaylord
fbfff3e751
actix-test: allow dynamic port setting (#2960)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-02-26 05:25:36 +00:00
Rob Ede
fdfb3d45db
remove direct dep on ahash for client pool 2023-02-26 03:50:36 +00:00
Rob Ede
4e05629368
specify safe tokio version range 2023-02-26 03:47:25 +00:00
Rob Ede
e35ec28cd2
prepare actix-web release 4.3.1 2023-02-26 03:44:34 +00:00
Rob Ede
35006e9cae
prepare actix-web-codegen release 4.2.0 2023-02-26 03:42:27 +00:00
Rob Ede
115701eb86
prepare awc release 3.1.1 2023-02-26 03:34:47 +00:00
Rob Ede
e2fed91efd
format markdown with prettier 2023-02-26 03:26:51 +00:00
Jacob Halsey
d4b833ccf0
actix-multipart: Feature: Add typed multipart form extractor (#2883)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-02-26 03:26:06 +00:00
Rob Ede
358c1cf85b
improve docs for app_config methods 2023-02-22 23:06:23 +00:00
Lioness100
42193bee29
fix typos (#2982) 2023-02-20 08:11:16 +00:00
Rob Ede
dc08ea044b
clippy 2023-02-13 21:09:28 +00:00
Roy Wellington Ⅳ
85d88ffada
Fix minor typo in Markdown (#2977) 2023-02-12 02:47:42 +00:00
yinho999
bf19a0e761
added body manipulation example for error handlers (#2973)
Closes https://github.com/actix/actix-web/issues/2856
2023-02-09 20:37:01 +00:00
Joel Wurtz
bf1f169be2
[awc] change client::Connect to be public (#2690) 2023-02-09 09:32:04 +00:00
Rob Ede
359d5d5c80
refactor codegen route guards 2023-02-06 17:06:47 +00:00
edgerunnergit
65c0545a7a
added support for creating custom methods with route macro (#2969)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Closes https://github.com/actix/actix-web/issues/2893
2023-02-06 12:40:41 +00:00
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