Rob Ede
99bf774e94
update gh-pages deploy action
2022-09-03 22:15:59 +01:00
Rob Ede
35b0fd1a85
specify branch in doc job
2022-09-03 22:05:28 +01:00
Rob Ede
0b5b4dcbf3
reduce size of docs branch
2022-09-03 21:56:37 +01:00
Juan Aguilar
c993055fc8
replace askama_escape in favor of v_htmlescape ( #2824 )
2022-08-30 09:34:46 +01:00
Rob Ede
679f61cf37
bump msrv to 1.59
2022-08-27 13:14:16 +01:00
Rob Ede
056de320f0
fix scope doc example
...
fixes #2843
2022-08-25 03:17:48 +01:00
Rob Ede
f220719fae
prepare awc release 3.0.1
2022-08-25 03:13:31 +01:00
liushuyu
c9f91796df
awc: correctly handle redirections that begins with `//` ( #2840 )
2022-08-25 03:12:58 +01:00
Rob Ede
ea764b1d57
add feature annotations to docs
2022-07-31 23:40:09 +01:00
Rob Ede
19aa14a9d6
re-order HttpServer methods for better docs
2022-07-31 22:10:51 +01:00
Rob Ede
10746fb2fb
improve HttpServer docs
2022-07-31 21:58:15 +01:00
Rob Ede
4bbe60b609
document h2 ping-pong
2022-07-24 16:42:35 +01:00
Rob Ede
8ff489aa90
apply fix from #2369
2022-07-24 16:35:00 +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
Jens Reimann
1c703ac1d4
Allow using `Option<Middleware>` to enable/disable a middleware
...
Currently, there is `Condition`, which accepts a boolean
(to enable/disable) and an instance to the actual middleware.
The downside of that is, that such a middleware needs to be constructed
in any case. Even if the middleware is used or not.
However, the middleware is not used when it is disabled. Only the type
seems required. So this PR adds a `from_option` function, which allows
passing in an `Option` instead of boolean and instance. If the option
"is some" it is enabled. Otherwise, not.
2022-06-29 16:49:58 +02: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