1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-16 21:26:34 +00:00
Commit graph

4167 commits

Author SHA1 Message Date
Rob Ede
dd8692e000
add send error response state
add changelog

add send error response state

remove comment
2022-07-24 15:27:54 +01:00
Rob Ede
e0a88cea8d
remove unwindsafe assertions 2022-07-24 02:47:12 +01:00
Rob Ede
d78ff283af
prepare actix-test release 0.1.0 2022-07-24 02:13:46 +01:00
Rob Ede
ce6d520215
prepare actix-http-test release 3.0.0 2022-07-24 02:11:21 +01:00
Rob Ede
3e25742a41
prepare actix-files release 0.6.2 2022-07-23 16:37:59 +01:00
Rob Ede
20f4cfe6b5
fix partial ranges for video content (#2817)
fixes #2815
2022-07-23 16:27:01 +01:00
Rob Ede
6408291ab0
appease clippy by deriving Eq on a bunch of items (#2818) 2022-07-23 16:26:48 +01:00
Rob Ede
8d260e599f
clippy 2022-07-23 02:48:28 +01:00
Rob Ede
14bcf72ec1
web utilizes const header names 2022-07-22 20:21:58 +01:00
Rob Ede
6485434a33
update bump script 2022-07-22 20:19:15 +01:00
Rob Ede
16c7c16463
reduce scope of once_cell change 2022-07-22 20:19:02 +01:00
Expyron
9b0fdca6e9
Remove some unnecessary uses of once_cell::sync::Lazy (#2816) 2022-07-22 20:18:38 +01:00
Roland Fredenhagen
8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
Rob Ede
c0d5d7bdb5
add octal-ish CL test 2022-07-02 21:04:37 +01:00
Rob Ede
40eab1f091
simplify simple decoder tests 2022-07-02 20:07:27 +01:00
Rob Ede
75517cce82
install cargo hack in CI faster 2022-07-02 20:00:59 +01:00
Rob Ede
9b51624b27
update cargo-cache to 0.8.2 2022-07-02 18:43:19 +01:00
Rob Ede
8e2ae8cd40
install nextest faster 2022-07-02 18:38:08 +01:00
Rob Ede
9a2f8450e0
install older cargo-edit 2022-07-02 17:40:03 +01:00
Rob Ede
23ef51609e
s/cargo-add/cargo-edit 2022-07-02 17:29:06 +01:00
Rob Ede
f7d629a61a
fix cargo-add in CI 2022-07-02 17:20:46 +01:00
Rob Ede
e0845d9ad9
add msrv workarounds to ci 2022-07-02 17:12:24 +01:00
Rob Ede
2f79daec16
only run tests on stable 2022-07-02 17:05:48 +01:00
Rob Ede
f3f41a0cc7
prepare actix-http release 3.2.1 2022-07-02 16:50:54 +01:00
Rob Ede
987067698b
use sparse registry in CI 2022-07-01 12:45:26 +01:00
Rob Ede
b62f1b4ef7
migrate deprecated method in docs 2022-07-01 12:40:00 +01:00
Rob Ede
df5257c373
update trust dns resolver 2022-07-01 10:21:46 +01:00
Rob Ede
226ea696ce
update dev deps 2022-07-01 10:19:28 +01:00
Rob Ede
e524fc86ea
add HTTP/0.9 rejection test 2022-07-01 09:03:57 +01:00
Rob Ede
7e990e423f
add http/1.0 GET parsing tests 2022-07-01 08:24:45 +01:00
Rob Ede
8f9a12ed5d
fix parsing ambiguities for HTTP/1.0 requests (#2794)
* fix HRS vuln when first CL header is 0

* ignore TE headers in http/1.0 reqs

* update changelog

* disallow HTTP/1.0 requests without a CL header

* fix test

* broken fix for http1.0 post requests
2022-07-01 08:23:40 +01:00
Rob Ede
c6eba2da9b
prepare actix-http release 3.2.0 (#2801) 2022-07-01 06:16:17 +01:00
Rob Ede
06c7945801
retain previously set vary headers when using compress (#2798)
* retain previously set vary headers when using compress
2022-06-30 09:19:16 +01:00
Ulf Lilleengen
0dba6310c6
Expose option for setting TLS handshake timeout (#2752)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-27 02:57:21 +00:00
Rob Ede
f7d7d92984
address clippy lints 2022-06-27 03:12:36 +01:00
nerix
3d6ea7fe9b
Improve documentation for actix-web-actors (#2788) 2022-06-26 16:45:02 +00:00
PeterPierinakos
8dbf7da89f
Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
oatoam
de92b3be2e
fix unrecoverable Err(Overflow) in websocket frame parser (#2790) 2022-06-24 03:46:17 +00:00
e-rhodes
5d0e8138ee
Add getters for &ServiceRequest (#2786) 2022-06-22 21:02:03 +01:00
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
Isabel Atkinson
265fa0d050
Add link to MongoDB example in README (#2783) 2022-06-15 22:38:10 +01:00
Yuki Okushi
062127a210
Revert "actix-http: Pull actix-web dev-dep from Git repo"
This reverts commit 3926416580.
2022-06-12 00:55:06 +09:00
Yuki Okushi
3926416580
actix-http: Pull actix-web dev-dep from Git repo
The published version of actix-web depends on a buggy version of zstd crate,
temporarily use actix-web on git repo to avoid the build failure.

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-12 00:48:08 +09:00
Rob Ede
43671ae4aa
release 4.1 group (#2781) 2022-06-12 00:15:43 +09:00
Rob Ede
264a703d94
revert broken fix in #2624 (#2779)
* revert broken fix in #2624

* update changelog
2022-06-11 13:43:13 +01:00
Rob Ede
498fb954b3
migrate from deprecated sha-1 to sha1 (#2780)
closes #2778
2022-06-11 04:53:58 +01:00
Rob Ede
2253eae2bb
update msrv to 1.56 (#2777)
* update msrv to 1.56

* remove transitive dashmap dependency

closes #2747
2022-06-11 04:03:26 +01:00
JY Choi
8e76a1c775
Allow a path as a guard in route handler macro (#2771)
* Allow a path as a guard in route handler macro

* Update CHANGES.md

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-06 18:53:23 +01:00
Sabrina Jewson
dce57a79c9
Implement ResponseError for Infallible (#2769) 2022-05-30 20:52:48 +01:00
cui fliter
6a5b370206
fix some typos (#2744)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-24 22:01:20 +00:00