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

137 Commits

Author SHA1 Message Date
Rob Ede
6408291ab0
appease clippy by deriving Eq on a bunch of items (#2818) 2022-07-23 16:26:48 +01:00
Rob Ede
a03a2a0076
deprecate NamedFile::set_status_code 2022-03-10 02:54:06 +00:00
Rob Ede
745e738955
fix negative impl assertion on 1.60+
see https://github.com/rust-lang/rust/issues/94791
2022-03-10 02:36:57 +00:00
Rob Ede
1fd90f0b10
Implement getters for named file fields (#2689)
Co-authored-by: Janis Goldschmidt <github@aberrat.io>
2022-03-10 01:29:26 +00:00
Clément Nerma
955c3ac0c4
Add support for audio files streaming (#2645) 2022-03-03 00:29:59 +00:00
Rob Ede
10ef9b0751
remove useless doctest main fns 2022-02-22 12:32:06 +00:00
Rob Ede
ad38973767
move blocking error to web (#2660) 2022-02-22 08:45:28 +00:00
Rob Ede
3d621677a5
clippy 2022-02-08 08:00:47 +00:00
Rob Ede
21a08ca796
tweak set_content_encoding docs 2022-01-28 20:27:16 +00:00
Luca Palmieri
a9f497d05f
Guard against broken intra-doc links in CI (#2616) 2022-01-28 17:28:16 +00:00
Rob Ede
1bd2076b35
prevent drive traversal in windows 2022-01-25 16:44:05 +00:00
Rob Ede
d7c5c966d2
remove impl Future for HttpResponse (#2601) 2022-01-24 11:56:01 +00:00
Rob Ede
c25dd23820
move path impls to derives 2022-01-22 04:02:34 +00:00
Rob Ede
bc89f0bfc2
s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
1cc3e7b24c
deprecate Path::path (#2590) 2022-01-19 20:26:33 +00:00
Rob Ede
6c97d448b7
update tokio-uring to 0.2 (#2583) 2022-01-12 17:53:36 +00:00
Rob Ede
85c9b1a263
move quoter 2022-01-04 12:58:40 +00:00
Ali MJ Al-Nasrawy
374dc9bfc9
files: percent-decode url path (#2398)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-04 12:54:11 +00:00
Rob Ede
93754f307f
try path config from Data as well 2022-01-04 04:08:46 +00:00
Rob Ede
c7639bc3be
document quoter 2022-01-04 03:48:12 +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
4616ca8ee6
rework Guard trait (#2552) 2021-12-28 02:37:13 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede
07f2fe385b
standardize crate level lints 2021-12-08 06:09:56 +00:00
Rob Ede
406f694095
standardize rustfmt max_width 2021-12-08 06:01:11 +00:00
Rob Ede
2d053b7036
remove actix_http::http module (#2488) 2021-12-05 14:37:20 +00:00
Rob Ede
c7c02ef99d
body ergonomics v3 (#2468) 2021-12-04 19:40:47 +00:00
Rob Ede
a978b417f3
use actix ready future in remaining return types 2021-11-30 13:11:41 +00:00
fakeshadow
dd347e0bd0
implement io-uring for actix-files (#2408)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-11-22 01:19:09 +00:00
Rob Ede
194a691537
files: 304 Not Modified responses omit Content-Length header (#2453) 2021-11-19 14:04:12 +00:00
Rob Ede
56ee97f722
add files path traversal tests 2021-11-18 18:14:34 +00:00
Rob Ede
591abc37c3
add test runtime macro (#2409) 2021-10-19 17:30:32 +01:00
Arniu Tseng
8ae278cb68
Remove FromRequest::Config (#2233)
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 01:11:16 +01:00
Ali MJ Al-Nasrawy
f9da6e48e0
ResourceDef: define behavior for prefix with trailing slash (#2355)
* ResourceDef: define behavior

* fix tests

* add scope test

* revert firestorm bump

* update changelog

* fmt

Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 20:05:49 +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
Ali MJ Al-Nasrawy
09afd033fc
files: file path filtering closure (#2274)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-25 14:21:57 +01:00
Ali MJ Al-Nasrawy
6893773280
files: allow show_files_listing() with index_file() (#2228) 2021-06-19 21:00:31 +01:00
Ali MJ Al-Nasrawy
8d124713fc
files: inline disposition for common web app file types (#2257) 2021-06-16 20:33:22 +01:00
Ali MJ Al-Nasrawy
812269d656
clarify docs for BodyEncoding::encoding() (#2258) 2021-06-10 15:38:35 +01:00
Ali MJ Al-Nasrawy
e5b713b04a
files: Fix redirect_to_slash_directory() when used with show_files_listing() (#2225) 2021-05-26 10:42:29 +01:00
Keita Nonaka
b1de196509
Fix clippy warnings (#2217) 2021-05-15 01:13:33 +01:00
Rob Ede
f55e8d7a11
remove error field from response 2021-05-09 20:15:48 +01:00
Rob Ede
900c9e270e
remove responsebody indirection from response (#2201) 2021-05-09 20:12:48 +01:00
Rob Ede
947caa3599
examples use info log level by default 2021-05-06 20:24:18 +01:00
Rob Ede
6a29a50f25
files doc wording 2021-04-22 18:37:45 +01:00
Rob Ede
75867bd073
clean up files service docs and rename method
follow on from #2046
2021-04-22 18:31:21 +01:00
tglman
f44a0bc159
add support of filtering guards in Files of actix-files (#2046)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-22 18:13:13 +01:00
Ibraheem Ahmed
26e9c80626
Named file service (#2135) 2021-04-18 23:34:51 +01:00