Nikolay Kim
|
9b012b3304
|
do not allow stream or actor responses for internal error #301
|
2018-06-11 19:45:17 -07:00 |
|
Nikolay Kim
|
a0344eebeb
|
InternalError can trigger memory unsafety #301
|
2018-06-11 18:54:36 -07:00 |
|
Nikolay Kim
|
60d40df545
|
fix clippy warning
|
2018-06-07 19:46:46 -07:00 |
|
Armin Ronacher
|
789af0bbf2
|
Added improved failure interoperability with downcasting (#285)
Deprecates Error::cause and introduces failure interoperability functions and downcasting.
|
2018-06-07 18:53:27 +02:00 |
|
Nikolay Kim
|
b799677532
|
better error messages for overflow errors
|
2018-06-02 15:10:48 -07:00 |
|
Douman
|
2a9b57f489
|
Correct docstring
|
2018-06-02 22:27:43 +03:00 |
|
Douman
|
fce8dd275a
|
Specialize ResponseError for PayloadError
Closes #257
|
2018-06-02 22:20:22 +03: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
|
3f5a39a5b7
|
cargo fmt
|
2018-06-01 09:37:14 -07:00 |
|
Nikolay Kim
|
690169db89
|
migrate to tokio
|
2018-05-24 21:03:16 -07:00 |
|
Nikolay Kim
|
0d36b8f826
|
fix 1.24 compatibility
|
2018-05-15 19:07:43 -07:00 |
|
Nikolay Kim
|
76f021a6e3
|
add tests for ErrorXXX helpers
|
2018-05-10 09:13:26 -07:00 |
|
dowwie
|
8b473745cb
|
added error response functions for 501,502,503,504
|
2018-05-10 11:26:38 -04:00 |
|
Nikolay Kim
|
a817ddb57b
|
add variable segments support for scope prefix
|
2018-05-07 13:50:43 -07:00 |
|
Alexander Andreev
|
599fd6af93
|
fix formatting
|
2018-05-07 20:53:45 +03:00 |
|
Alexander Andreev
|
cd11293c1f
|
spelling check
|
2018-05-06 19:07:30 +03:00 |
|
Nikolay Kim
|
f37880d89c
|
refactor Responder trait
|
2018-05-04 11:44:22 -07:00 |
|
Nikolay Kim
|
b07d0e712f
|
always provide backtrace for error
|
2018-05-03 16:26:42 -07:00 |
|
Nikolay Kim
|
76b644365f
|
use read only ref for FromRequest; remove unnecessary static
|
2018-05-02 06:07:30 -07:00 |
|
Nikolay Kim
|
aa757a5be8
|
Allow to access Error's backtrace object
|
2018-04-29 14:21:50 -07:00 |
|
Nikolay Kim
|
c72d1381a6
|
clippy warnings
|
2018-04-29 09:09:08 -07:00 |
|
Nikolay Kim
|
de49796fd1
|
clippy warnings; fmt
|
2018-04-28 22:55:47 -07:00 |
|
Nikolay Kim
|
2c8d987241
|
Use Display formatting for InternalError Display implementation #188
|
2018-04-19 07:55:09 -07: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
|
a5b5ff0894
|
update doc strings
|
2018-04-13 19:14:14 -07:00 |
|
Nikolay Kim
|
5140fea8d1
|
allow to use castom error handler for json extractor
|
2018-04-13 19:10:42 -07:00 |
|
Nikolay Kim
|
113f5ad1a8
|
add rustfmt config
|
2018-04-13 16:02:01 -07:00 |
|
Nikolay Kim
|
d292c5023f
|
add String and Bytes extractor
|
2018-04-02 16:19:18 -07:00 |
|
Nikolay Kim
|
44e3df82f6
|
simplify http response construction; deprecate httpcodes
|
2018-03-30 23:07:33 -07:00 |
|
Nikolay Kim
|
145010a2b0
|
use unreachable instead of panic
|
2018-03-29 15:55:27 -07:00 |
|
Nikolay Kim
|
8fff2c7595
|
remove Path and Query from public api
|
2018-03-26 18:18:38 -07:00 |
|
Nikolay Kim
|
5a25fd95f5
|
Fix panic on invalid URL characters #130
|
2018-03-22 18:08:12 -07:00 |
|
Nikolay Kim
|
ab73da4a1a
|
use Error instead of InternalError for helper methods error::ErrorXXX
|
2018-03-18 14:18:47 -07:00 |
|
Nikolay Kim
|
f3c63e631a
|
add protobuf feature
|
2018-03-08 20:56:18 -08:00 |
|
kingxsp
|
a0b589eb96
|
Add protobuf support
|
2018-03-09 10:05:13 +08:00 |
|
Nikolay Kim
|
0c30057c8c
|
move headers to separate module; allow custom HeaderValue conversion
|
2018-03-05 16:45:54 -08:00 |
|
Nikolay Kim
|
206c4e581a
|
rename httpcodes
|
2018-03-01 19:12:59 -08:00 |
|
Nikolay Kim
|
6c480fae90
|
added HttpRequest::encoding() method; fix urlencoded parsing with charset
|
2018-02-27 11:31:54 -08:00 |
|
Nikolay Kim
|
5dcb558f50
|
refactor websockets handling
|
2018-02-27 10:09:24 -08:00 |
|
Nikolay Kim
|
72aa2d9eae
|
clippy warnings
|
2018-02-26 14:33:56 -08:00 |
|
Nikolay Kim
|
644f1a9518
|
refactor ws frame parser
|
2018-02-26 13:58:23 -08:00 |
|
Nikolay Kim
|
0a3b776aa7
|
refactor multipart stream
|
2018-02-26 06:00:54 +03:00 |
|
Nikolay Kim
|
6ef9c60361
|
add Read and AsyncRead impl to HttpRequest
|
2018-02-25 21:26:58 +03:00 |
|
Nikolay Kim
|
4e41e13baf
|
refactor client payload processing
|
2018-02-25 11:18:17 +03:00 |
|
Nikolay Kim
|
03912d2089
|
support client request's async body
|
2018-02-19 22:48:27 -08:00 |
|
Christopher Armstrong
|
4b8181476c
|
consistently use #[cause] and display causing errors (#73)
|
2018-02-12 23:55:44 -06:00 |
|
Nikolay Kim
|
93aa220e8d
|
remove default impl for std error, it prevents use of Fail
|
2018-02-07 13:57:58 -08:00 |
|
Christopher Armstrong
|
884ea02f5c
|
Allow returning failure::Error from handlers (#65)
This implements From<failure::Error> for Error (by way of `failure::Compat`)
and ResponseError for failure::Compat<T>.
|
2018-02-06 10:26:50 -06:00 |
|
Nikolay Kim
|
7e9fbfca72
|
missing http codes
|
2018-01-31 12:34:58 -08:00 |
|