Rob Ede
ac2a3bb124
refactor: replace ahash with foldhash ( #3483 )
2024-12-29 16:20:00 +00:00
Rob Ede
34327bd221
chore: address clippy warnings
2024-12-29 15:03:43 +00:00
Rob Ede
ec05381f6f
feat: add CLEAR_SITE_DATA header
2024-10-15 07:01:01 +01:00
John Vandenberg
d6bdfac1b9
build(deps): update derive_more to v1.0 ( #3453 )
...
* build(deps): update derive_more to v1.0
* refactor: use from derive module
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-18 14:17:03 +00:00
Rob Ede
5c6e0e17d3
feat(http): impl FromIter for HeaderMap
2024-07-07 21:16:25 +01:00
Rob Ede
022b052bd9
chore: clippy
2024-02-12 23:02:45 +00:00
Rob Ede
1e2ef6f92f
perf: remove unnecessary allocation when writing http dates ( #3261 )
2024-02-07 03:47:30 +00:00
SleeplessOne1917
ae7736f134
Implement From<&HeaderMap>
for http::HeaderMap
( #3230 )
...
* Add From impl for header map references
* Add From impl for header map references
* Remove Into<HeaderMap> via http::HeaderMap
* fix changelog
---------
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-02-01 12:52:35 +00:00
SleeplessOne1917
eefe8b0733
Implement From<HeaderMap> for http::HeaderMap ( #3222 )
...
* Implement From<HeaderMap> for http::HeaderMap
* Update changelog
* Apply clippy fix
* doc tweak
---------
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-12-16 10:08:45 +00:00
Rob Ede
79a38e0628
apply standard formatting
2023-07-17 02:38:12 +01:00
Rob Ede
241da6e081
update MSRV to 1.65 ( #3059 )
2023-07-02 01:09:15 +01:00
Rob Ede
f27584046c
add todo for header names in next breaking release
2023-02-26 16:31:40 +00:00
Rob Ede
b9f0faafde
add cache-status and cdn-cache-control header names ( #2968 )
...
* add cache-status and cdn-cache-control header names
* fix changelog
* update docs with rfc numbers
2023-01-21 00:02:54 +00:00
Rob Ede
fbd0e5dd0a
add headermap::retain ( #2955 )
...
* add headermap::retain
* update changelog and docs
* fix retain doc test
2023-01-02 13:38:07 +00:00
Rob Ede
7b936bc443
add some useful header name constants ( #2956 )
2023-01-02 13:33:31 +00:00
Rob Ede
cc7145d41d
rust 1.64 clippy run ( #2891 )
2022-09-25 20:54:17 +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
3200de3f34
fix request head timeout ( #2611 )
2022-01-31 17:30:34 +00:00
Rob Ede
0bc4ae9158
remove BodyEncoding
trait ( #2565 )
2022-01-03 18:46:04 +00:00
Rob Ede
e890307091
Fix AcceptEncoding header ( #2501 )
2022-01-03 13:17:57 +00:00
Rob Ede
2308f8afa4
use const header values where possible
2021-12-27 16:15:33 +00:00
Rob Ede
b3ac918d70
update itoa to v1
2021-12-22 08:34:48 +00:00
Thales
84ea9e7e88
http: Replace header::map::GetAll with std::slice::Iter ( #2527 )
2021-12-18 00:05:12 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology ( #2510 )
2021-12-13 16:08:08 +00:00
Rob Ede
406f694095
standardize rustfmt max_width
2021-12-08 06:01:11 +00:00
Rob Ede
e49e559f47
fix some docs
2021-12-08 05:43:50 +00:00
Rob Ede
2d053b7036
remove actix_http::http
module ( #2488 )
2021-12-05 14:37:20 +00:00
Rob Ede
e1a2d9c606
Quality
/ QualityItem
improvements (#2486 )
2021-12-05 03:38:08 +00:00
Rob Ede
deece8d519
re-instate accept-encoding typed header ( #2482 )
2021-12-02 17:04:40 +00:00
Rob Ede
2a72bdae09
improve typed header macro ( #2481 )
2021-12-02 15:25:39 +00:00
Rob Ede
075d871e63
wrap LanguageTags
type in new AnyOrSome
type to support wildcards ( #2480 )
2021-12-02 13:59:25 +00:00
Rob Ede
c4b20df56a
convert all remaining IETF RFC links to new format
2021-12-02 03:45:04 +00:00
Rob Ede
0df275c478
update all IETF RFC links to new URL format
2021-12-01 19:42:02 +00:00
Rob Ede
fc4cdf81eb
expose header::map
module ( #2470 )
2021-11-29 02:22:47 +00:00
Rob Ede
39243095b5
guarantee ordering of header map get_all ( #2467 )
2021-11-28 19:23:29 +00:00
Rob Ede
3e6e9779dc
fix big5 charset parsing
2021-11-24 20:16:15 +00:00
Rob Ede
668a33c793
remove internal usage of Body
2021-11-16 22:10:30 +00:00
Rob Ede
46699e3429
remove time dep from actix-http ( #2383 )
2021-09-11 00:01:01 +01:00
Rob Ede
93112644d3
non exhaustive content encoding ( #2377 )
2021-09-01 09:53:26 +01:00
Arthur Le Moigne
ddc8c16cb3
Fix quality parse error in Accept-Encoding HTTP header ( #2344 )
2021-09-01 09:08:29 +01:00
Rob Ede
5f412c67db
clippy
2021-08-13 18:49:58 +01:00
Igor Aleksanov
262c6bc828
Various refactorings ( #2281 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Ibraheem Ahmed
2e1d761854
add Seal argument to sealed AsHeaderName methods ( #2252 )
2021-06-08 12:57:19 +01:00
Arthur Le Moigne
3479293416
Add zstd ContentEncoding support ( #2244 )
...
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-03 21:32:52 +01:00
Rob Ede
900c9e270e
remove responsebody indirection from response ( #2201 )
2021-05-09 20:12:48 +01:00
Rob Ede
db97974dc1
make some http re-exports more accessible ( #2171 )
2021-04-19 03:29:38 +01:00
Ibraheem Ahmed
50dc13f280
move typed headers and implement FromRequest ( #2094 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-01 16:42:18 +01:00
Rob Ede
f66774e30b
remove From<OffsetDateTime>
impl from HttpDate
...
fully removes time crate from public api of -http
2021-03-30 03:32:22 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks
2021-03-25 08:45:52 +00:00
fakeshadow
351286486c
fix clippy warning on nightly ( #2088 )
...
* fix clippy warning on nightly
2021-03-19 19:25:35 +08:00