fakeshadow
d40ae8c8ca
use sync method on Responder trait ( #1891 )
2021-01-08 22:17:19 +00:00
Aravinth Manivannan
a929209967
actix-files
intra-doc migration (#1785 )
2020-11-10 23:54:38 +00:00
Rob Ede
26c1a901d9
add files preference for utf8 text responses ( #1714 )
2020-10-06 21:56:28 +01:00
Rob Ede
f7bcad9567
split up files lib ( #1685 )
2020-09-20 23:18:25 +01:00
Yuki Okushi
92b5bcd13f
Check format and tweak CI config ( #1619 )
2020-07-22 00:28:33 +01:00
Yuki Okushi
245dd471dd
files: Minimize futures
dependencies
2020-05-19 08:24:34 +09:00
Omid Rad
b0866a8a0f
Actix-files will always send SizedStream ( #1496 )
...
* Fixes #1384
* There is no need to set no_chunking
* Test content-length for static files
* Update the tests
* Add Changelog
* Try to simply fix Windows test issues!
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-05-18 06:54:42 +09:00
Nikolay Kim
1732ae8c79
fix Bodyencoding trait usage
2019-12-18 09:30:14 +06:00
Nikolay Kim
01613f334b
Move BodyEncoding to dev module #1220
2019-12-16 17:22:26 +06:00
Nikolay Kim
69cadcdedb
migrate actix-files
2019-11-21 16:02:17 +06:00
Hung-I Wang
edcde67076
Fix escaping/encoding problems in Content-Disposition header ( #1151 )
...
* Fix filename encoding in Content-Disposition of acitx_files::NamedFile
* Add more comments on how to use Content-Disposition header properly & Fix some trivial problems
* Improve Content-Disposition filename(*) parameters of actix_files::NamedFile
* Tweak Content-Disposition parse to accept empty param value in quoted-string
* Fix typos in comments in .../content_disposition.rs (pointed out by @JohnTitor)
* Update CHANGES.md
* Update CHANGES.md again
2019-11-06 06:08:37 -08:00
Naim A
4de2e8a898
[actix-files] Allow user defined guards for NamedFile (actix#1113) ( #1115 )
...
* [actix-files] remove request method checks from NamedFile
* [actix-files] added custom guard checks to FilesService
* [actix-files] modify method check tests (NamedFile -> Files)
* [actix-files] add test for custom guards in Files
* [actix-files] update changelog
2019-10-08 10:09:40 +06:00
Yuki Okushi
dbe4c9ffb5
Replace deprecated methods in actix_files ( #1027 )
...
* Bump up mime_guess to 2.0.1
* Replace deprecated methods
* Update CHANGE.md
2019-08-12 05:43:29 +09:00
Nikolay Kim
7bca1f7d8d
Allow to disable Content-Disposition header #686
2019-07-20 11:43:49 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Nikolay Kim
a3a78ac6fb
Do not set Content-Length header, let actix-http set it #930
2019-06-28 11:42:20 +06:00
Nikolay Kim
bf48798bce
Content-Length is 0 for NamedFile HEAD request #914
2019-06-13 15:27:21 +06:00
Nikolay Kim
15cdc680f6
Static files are incorrectly served as both chunked and with length #812
2019-06-01 17:57:40 +06:00
Nikolay Kim
babf48c550
fix NamedFile last-modified check #820
2019-05-22 21:21:12 -07:00
Nikolay Kim
3d1af19080
prepare actix-http release
2019-05-04 19:51:13 -07:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
748289f0ff
use custom headers map; more optimizations
2019-04-06 15:02:02 -07:00
Nikolay Kim
9c205f9f1d
update tests for content-encoding
2019-04-04 14:00:56 -07:00
Nikolay Kim
ab45974e35
add default handler
2019-03-31 18:19:18 -07:00
Nikolay Kim
e254fe4f9c
allow to override response body encoding
2019-03-27 11:29:31 -07:00
Nikolay Kim
e18227cc3d
add wrap_fn to App and Scope
2019-03-25 13:43:02 -07:00
Douman
d30027ac5b
Remove StaticFilesConfig ( #731 )
...
* Remove StaticFilesConfig
* Applying comments
* Impl Clone for Files<S>
2019-03-25 13:02:37 -07:00
Nikolay Kim
e37e81af0b
simplify Payload extractor
2019-03-24 17:00:59 -07:00
Nikolay Kim
54678308d0
propogate app config with http request; add tests for url_for
2019-03-09 14:06:24 -08:00
Nikolay Kim
e56691bcf2
rename to Files
2019-03-06 23:39:08 -08:00