Tessa Bradbury
|
080f232a0f
|
Use StaticFile default handler when file is inaccessible (#357)
* Use Staticfile default handler on all error paths
* Return an error from StaticFiles::new() if directory doesn't exist
|
2018-07-05 12:34:13 +03:00 |
|
Nikolay Kim
|
6fd686ef98
|
cleanup warnings
|
2018-07-04 21:01:27 +06:00 |
|
Nikolay Kim
|
fec6047ddc
|
refactor HttpRequest mutability
|
2018-07-02 23:35:32 +06:00 |
|
Nikolay Kim
|
445ea043dd
|
remove unsafes
|
2018-07-02 23:32:29 +06:00 |
|
Gowee
|
0be5448597
|
Properly escape special characters in fs/directory_listing. (#355)
|
2018-06-30 15:01:48 +03:00 |
|
ousado
|
0f27389e72
|
set length of vector to max_bytes (closes #345) (#346)
|
2018-06-26 08:09:12 +03:00 |
|
Douman
|
a9425a866b
|
Fix duplicate tail of StaticFiles with index_file
Map from 0.6 to master
|
2018-06-25 19:59:55 +03:00 |
|
Nikolay Kim
|
40ca9ba9c5
|
simplify write buffer
|
2018-06-24 10:30:58 +06:00 |
|
Nikolay Kim
|
45682c04a8
|
refactor content encoder
|
2018-06-24 08:54:01 +06:00 |
|
Nikolay Kim
|
65ca563579
|
use read only self for Middleware
|
2018-06-21 23:06:23 +06:00 |
|
Nikolay Kim
|
3de9284592
|
Handler::handle uses &self instead of mutabble reference
|
2018-06-21 17:07:54 +06:00 |
|
Nikolay Kim
|
311f0b23a9
|
cleanup more code
|
2018-06-20 00:36:32 +06:00 |
|
Nikolay Kim
|
27b6af2800
|
refactor route matching
|
2018-06-19 16:45:26 +06:00 |
|
Nikolay Kim
|
ef15646bd7
|
refactor edfault cpu pool
|
2018-06-18 04:56:18 +06:00 |
|
Nikolay Kim
|
a5bbc455c0
|
cleanup mut transform
|
2018-06-18 04:41:41 +06:00 |
|
Nikolay Kim
|
b6ed778775
|
remove HttpMessage::range()
|
2018-06-17 08:48:50 +06:00 |
|
axon-q
|
4d69e6d0b4
|
fs: minor cleanups to content_disposition
|
2018-06-12 13:47:49 +00:00 |
|
axon-q
|
aee24d4af0
|
minor syntax changes
|
2018-06-09 14:47:06 +00:00 |
|
axon-q
|
8681a346c6
|
fs: refactor Content-Type and Content-Disposition handling
|
2018-06-09 13:56:01 +00:00 |
|
axon-q
|
3751656722
|
expose fs::file_extension_to_mime() function
|
2018-06-09 11:20:06 +00:00 |
|
Pascal Hertleif
|
890a7e70d6
|
Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
|
2018-06-02 15:52:50 +02:00 |
|
Nikolay Kim
|
a64205e502
|
refactor TransferEncoding; allow to use client api with threaded tokio runtime
|
2018-05-29 16:32:39 -07:00 |
|
Nikolay Kim
|
556646aaec
|
update changelog
|
2018-05-24 07:56:51 -07:00 |
|
Nikolay Kim
|
836706653b
|
Merge branch 'master' into master
|
2018-05-24 07:46:46 -07:00 |
|
Nikolay Kim
|
68eb2f26c9
|
Allow to use path without traling slashes for scope registration #241
|
2018-05-23 13:21:29 -07:00 |
|
Max Frai
|
ac24703512
|
Add ability to set encoding for exact NamedFile.
|
2018-05-23 09:12:23 +03:00 |
|
Nikolay Kim
|
2159158c30
|
Fix streaming response with body compression
|
2018-05-21 20:50:10 -07:00 |
|
qrvaelet
|
b68687044e
|
range header syntax fix, change range to content-range in responses, enabled accept ranges, tests for content-range, content-length, and range status code
|
2018-05-20 17:40:36 +02:00 |
|
Nikolay Kim
|
16906c5951
|
clippy warnings
|
2018-05-17 12:23:37 -07:00 |
|
Nikolay Kim
|
45e9aaa462
|
rustfmt 0.7
|
2018-05-17 12:20:20 -07:00 |
|
qrvaelet
|
2d83f79433
|
NamedFile: added ranges support, content-length support
|
2018-05-17 20:09:41 +02:00 |
|
Nikolay Kim
|
03d6b04eef
|
update tests
|
2018-05-04 12:11:38 -07:00 |
|
Nikolay Kim
|
f37880d89c
|
refactor Responder trait
|
2018-05-04 11:44:22 -07:00 |
|
Nikolay Kim
|
acd7380865
|
rename Reply to a AsyncResult
|
2018-05-03 16:22:08 -07:00 |
|
Nikolay Kim
|
32a2866449
|
Allow to override files listing renderer for #203
|
2018-05-02 15:53:07 -07:00 |
|
Nikolay Kim
|
8d65468c58
|
refactor FromRequest trait
|
2018-05-01 17:19:15 -07:00 |
|
Nikolay Kim
|
91235ac816
|
fix reading from socket
|
2018-04-29 20:34:59 -07:00 |
|
Nikolay Kim
|
c72d1381a6
|
clippy warnings
|
2018-04-29 09:09:08 -07:00 |
|
Sven-Hendrik Haase
|
de222fe33b
|
Merge and fix PR comments
|
2018-04-29 14:02:50 +02:00 |
|
Nikolay Kim
|
de49796fd1
|
clippy warnings; fmt
|
2018-04-28 22:55:47 -07:00 |
|
Sven-Hendrik Haase
|
492c072564
|
Add Content-Disposition to NamedFile (fixes #172)
|
2018-04-27 09:49:55 +02:00 |
|
Nikolay Kim
|
a826d113ee
|
add custom request path quoter #182
|
2018-04-17 12:55:13 -07:00 |
|
Nikolay Kim
|
a9ea649348
|
Allow to configure StaticFiles CpuPool, via static method or env variable
|
2018-04-13 19:46:14 -07:00 |
|
Nikolay Kim
|
333b4f57d3
|
use different directory for tests
|
2018-04-13 17:00:18 -07:00 |
|
Nikolay Kim
|
113f5ad1a8
|
add rustfmt config
|
2018-04-13 16:02:01 -07:00 |
|
Nikolay Kim
|
22c776f46e
|
Fix StaticFiles does not support percent encoded paths #177
|
2018-04-13 10:13:12 -07:00 |
|
Nikolay Kim
|
c0976bfa17
|
fix test
|
2018-04-12 21:28:17 -07:00 |
|
Nikolay Kim
|
2ca0ea70c4
|
use one default cpu pool for StaticFiles #174
|
2018-04-12 15:50:20 -07:00 |
|
Douman
|
62a9b4c53c
|
Rename HttpRequest::without_state into drop_state and make it public
|
2018-04-11 22:41:06 +03:00 |
|
Nikolay Kim
|
be288fa00a
|
for NamedFile process etag and last modified only if status code is 200
|
2018-04-10 10:57:53 -07:00 |
|