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

2779 Commits

Author SHA1 Message Date
Douman
037a1c6a24 Bump min version of rustc
Due to actix & trust-dns requirement
2018-12-24 21:17:09 +03:00
BlueC0re
bfdf762062 Only return a single Origin value (#644)
Only return a single origin if matched.
2018-12-24 21:16:07 +03:00
Nikolay Kim
477bf0d8ae Send HTTP/1.1 100 Continue if request contains expect: continue header #634 2018-12-23 10:19:12 -08:00
Phil Booth
e9fe3879df Support custom content types in JsonConfig 2018-12-23 08:27:47 +03:00
Nikolay Kim
f2251b8059 Merge branch 'master' of github.com:fafhrd91/actix-http 2018-12-19 18:35:09 -08:00
Nikolay Kim
cc74435b01 drop failure crate 2018-12-19 18:34:56 -08:00
Nikolay Kim
3bd5167ac2
Merge pull request #10 from DoumanAsh/http1_case
H1 decoder should ignore headers case
2018-12-16 07:44:40 -08:00
Douman
67df9399df H1 decoder should ignore headers case 2018-12-16 18:43:11 +03:00
Douman
1a940d4c18 H1 decoded should ignore header cases 2018-12-16 18:34:32 +03:00
Douman
e8bdcb1c08 Update min version of http
Closes #630
2018-12-15 09:26:56 +03:00
Nikolay Kim
b1001b80b7 upgrade actix-service dependency 2018-12-12 18:39:01 -08:00
Douman
46db09428c Prepare release 0.7.16 2018-12-11 21:04:05 +03:00
Nikolay Kim
1c60992723 use released crates 2018-12-11 09:29:12 -08:00
ethanpailes
90eef31cc0 impl ResponseError for SendError when possible (#619) 2018-12-11 19:37:52 +03:00
Nikolay Kim
aaae368ed9 use new actix crates 2018-12-10 18:08:33 -08:00
Akos Vandra
86af02156b add impl FromRequest for Either<A,B> (#618) 2018-12-10 19:02:05 +03:00
Nikolay Kim
9f4d48f7a1 update tests 2018-12-06 15:03:01 -08:00
Nikolay Kim
e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Douman
ac9fc662c6 Bump version to 0.7.15 2018-12-05 18:27:06 +03:00
Douman
0745a1a9f8 Remove usage of upcoming keyword async
AsyncResult::async is replaced with AsyncResult::future
2018-12-05 18:23:04 +03:00
silwol
b1635bc0e6 Update some dependencies (#612)
* Update rand to 0.6

* Update parking_lot to 0.7

* Update env_logger to 0.6
2018-12-04 09:58:22 +03:00
Kelly Thomas Kline
08c7743bb8 Add set_mailbox_capacity() function 2018-12-02 08:40:09 +03:00
vemoo
68c5d6e6d6 impl From<Cow<'static, [u8]>> for Binary (#611)
impl `From` for `Cow<'static, [u8]>`  and `From<Cow<'static, str>>` for `Binary`
2018-12-02 08:32:55 +03:00
Nikolay Kim
c0f8bc9e90 fix ssl support 2018-11-30 16:04:33 -08:00
Nikolay Kim
5003c00efb use new Service and NewService traits 2018-11-30 11:57:57 -08:00
Nikolay Kim
d269904fbf add cause for nested errors 2018-11-28 09:10:13 -10:00
Nikolay Kim
06387fc778 display parse error for ws client errors 2018-11-28 09:02:31 -10:00
Nikolay Kim
617b8557e1
Merge pull request #9 from alishir/new-example
echo example with `impl Future`
2018-11-27 20:17:32 -10:00
Ali Shirvani
4028f6f6fd http crate removed, cargo fmt 2018-11-28 09:42:04 +03:30
Ali Shirvani
397804a786 echo example with impl Future 2018-11-28 09:15:08 +03:30
Nikolay Kim
756bf0af58
Merge pull request #5 from alishir/echo-example
Two other simple examples.
2018-11-25 20:50:17 -10:00
Nikolay Kim
f1bfdc7395 Merge branch 'master' of https://github.com/fafhrd91/actix-http 2018-11-25 20:14:58 -10:00
Nikolay Kim
9c038ee189 allow to use Uri for client request 2018-11-25 20:14:42 -10:00
Ali Shirvani
ca1b460924
comments aligned. 2018-11-25 05:48:33 +03:30
François
c386353337 decode reserved characters when extracting path with configuration (#577)
* decode reserved characters when extracting path with configuration

* remove useless clone

* add a method to get decoded parameter by name
2018-11-24 16:54:11 +03:00
Ali Shirvani
7a97de3a1e update readme. 2018-11-24 17:17:34 +03:30
Ali Shirvani
d5b2640342 add framed_hello.rs 2018-11-24 17:08:17 +03:30
Ali Shirvani
c3c2286e3a An other hello word example and update sample in README.md 2018-11-24 17:07:30 +03:30
Ali Shirvani
d5ca6e21e2 simple echo server. 2018-11-24 11:29:14 +03:30
Douman
9aab382ea8 Allow user to provide addr to custom resolver
We basically swaps Addr with Recipient to enable user to use custom resolver
2018-11-23 15:36:12 +03:00
Nikolay Kim
7ef6eab9af
Merge pull request #3 from alishir/examples
hello-world example added.
2018-11-22 19:24:50 -10:00
Ali Shirvani
41d68c87d9 hello-world example added. 2018-11-23 07:42:40 +03:30
Nikolay Kim
1a322966ff handle response errors 2018-11-21 07:49:24 -08:00
Douman
389cb13cd6 Export PathConfig and QueryConfig
Closes #597
2018-11-20 23:06:38 +03:00
Nikolay Kim
ab3e12f2b4 set server response version 2018-11-20 11:23:05 -08:00
Nikolay Kim
186d3d727a add kee-alive tests 2018-11-20 10:55:50 -08:00
Huston Bokinsky
6a93178479 Complete error helper functions. 2018-11-20 08:07:46 +03:00
Nikolay Kim
e1fc6dea84 restore execute method 2018-11-19 16:39:40 -08:00
Nikolay Kim
6b60c9e230 add debug impl for H1ServiceResult 2018-11-19 16:11:58 -08:00
Nikolay Kim
3901239128 unify requedt/response encoder 2018-11-19 14:57:12 -08:00