1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-04 20:31:55 +01:00
Commit Graph

136 Commits

Author SHA1 Message Date
Nikolay Kim
f9724fa0ec add ErrorResponse impl for TimeoutError 2019-02-11 09:54:41 -08:00
Nikolay Kim
cd83553db7 simplify payload api; add missing http error helper functions 2019-02-07 11:37:33 -08:00
Nikolay Kim
55a29d3778 add h2 server support 2019-02-06 11:44:15 -08:00
Nikolay Kim
4217894d48 cleaup warnings 2019-01-29 10:14:00 -08:00
Nikolay Kim
4a388d7ad9 add client http/2 support 2019-01-28 20:41:09 -08:00
Nikolay Kim
cc74435b01 drop failure crate 2018-12-19 18:34:56 -08:00
Nikolay Kim
aaae368ed9 use new actix crates 2018-12-10 18:08:33 -08:00
Nikolay Kim
e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Nikolay Kim
8fea1367c7 re-introduce Body type, use Body as default body type for Response 2018-11-18 13:48:42 -08:00
Nikolay Kim
7fed50bcae refactor response body management 2018-11-17 20:21:28 -08:00
Nikolay Kim
6297fe0d41 refactor client response payload handling 2018-11-14 09:38:16 -08:00
Nikolay Kim
148cf73003 allow to create response with error message 2018-10-30 11:46:44 -07:00
Nikolay Kim
9b94eaa6a8 ws services 2018-10-22 09:59:20 -07:00
Nikolay Kim
13193a0721 refactor http/1 dispatcher 2018-10-07 09:59:40 -07:00
Nikolay Kim
8d85c45c1d simplify error handling 2018-10-07 00:04:38 -07:00
Nikolay Kim
b0ca6220f0 refactor te encoding 2018-10-06 22:36:57 -07:00
Nikolay Kim
87b83a3403 update tests, remove unused deps 2018-10-06 21:07:32 -07:00
Nikolay Kim
8c2244dd88 rename HttpResponse 2018-10-05 11:04:59 -07:00
Nikolay Kim
7fdc18f9b9 calculate response parameters 2018-10-04 23:39:11 -07:00
Nikolay Kim
829dbae609 cleanups and tests 2018-10-04 21:14:18 -07:00
Nikolay Kim
4ca711909b refactor types 2018-10-04 20:02:10 -07:00
Nikolay Kim
b15b2dda22 remove ServerSettings 2018-10-04 17:34:57 -07:00
Nikolay Kim
6aa2de7b8d remove actix-web artifacts 2018-10-04 17:00:27 -07:00
Nikolay Kim
972b008a6e remove unsafe error transmute, upgrade failure to 0.1.2 #434 2018-08-01 09:42:12 -07:00
Tobias Bieniek
9012cf43fe
error: Fix documentation typo 2018-07-14 00:05:07 +02:00
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
fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim
8e160ebda7 clippy warning 2018-06-21 11:49:36 +06:00
Nikolay Kim
c2c4a5ba3f fix failure Send+Sync compatibility 2018-06-21 10:45:24 +06:00
Nikolay Kim
2f917f3700 various cleanups and comments 2018-06-20 01:27:41 +06:00
Nikolay Kim
b6ed778775 remove HttpMessage::range() 2018-06-17 08:48:50 +06:00
Dursun Akkurt
cb77f7e688 Add HttpMessage::readlines() 2018-06-14 00:19:48 +03:00
Dursun Akkurt
1bee528018 move ReadlinesError to error module 2018-06-13 22:59:36 +03:00
Dursun Akkurt
8af082d873 remove FormPayloadError 2018-06-12 20:26:09 +03:00
Ozgur Akkurt
d4d3add17d add ClientRequestBuilder::form() 2018-06-12 19:30:00 +03:00
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