1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01:00
Commit Graph

986 Commits

Author SHA1 Message Date
Nikolay Kim
87a822e093 fix deprecated warnings 2018-06-10 10:14:13 -07:00
Nikolay Kim
818d0bc187 new StreamHandler impl 2018-06-09 07:53:46 -07:00
Nikolay Kim
9151d61eda allow to use custom resolver for ClientConnector 2018-06-08 16:33:57 -07:00
Nikolay Kim
5a7902ff9a
Merge branch 'master' into multipart-content-disposition 2018-06-07 21:20:11 -07:00
Nikolay Kim
f9f2ed04ab fix doc test 2018-06-07 20:22:23 -07:00
Nikolay Kim
f7ef8ae5a5 add Host predicate 2018-06-07 20:00:54 -07:00
Nikolay Kim
60d40df545 fix clippy warning 2018-06-07 19:46:46 -07:00
Nikolay Kim
f7bd6eeedc add application filters 2018-06-07 19:46:38 -07:00
axon-q
a11f3c112f fix doc test 2018-06-07 21:18:51 +00:00
Nikolay Kim
e9f59bc7d6
Merge branch 'master' into multipart-content-disposition 2018-06-07 11:02:53 -07:00
axon-q
56e0dc06c1 defer parsing until user method call 2018-06-07 17:29:46 +00: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
axon-q
97b5410aad remove Option from ContentDisposition::from_raw() argument 2018-06-07 12:55:35 +00:00
axon-q
a6e07c06b6 move CD parsing to Content-Type parsing location 2018-06-07 12:35:10 +00:00
axon-q
31a301c9a6 fix multipart test 2018-06-07 11:38:35 +00:00
axon-q
5a37a8b813 restore hyper tests 2018-06-07 10:55:36 +00:00
axon-q
c0c1817b5c remove unicase dependency 2018-06-07 10:33:00 +00:00
axon-q
82c888df22 fix test 2018-06-07 09:10:46 +00:00
axon-q
936ba2a368 multipart: parse and validate Content-Disposition 2018-06-06 14:06:01 +00:00
Nikolay Kim
d1da227ac5 fix multipart boundary parsing #282 2018-06-05 08:53:51 -07:00
Nikolay Kim
f94fd9ebee CORS: Do not validate Origin header on non-OPTION requests #271 2018-06-05 07:39:47 -07:00
Nikolay Kim
5004821cda
Merge branch 'master' into user-agent 2018-06-04 14:04:45 -07:00
Nikolay Kim
984791187a Middleware::response is not invoked if error result was returned by another Middleware::start #255 2018-06-04 13:42:47 -07:00
Nikolay Kim
eb0909b3a8
Merge branch 'master' into user-agent 2018-06-04 10:20:53 -07:00
François Mockers
ca3fb11f8b add actix-web version in header 2018-06-04 08:15:04 +02:00
Matthijs Brobbel
268c5d9238
Fix typo 2018-06-03 20:28:08 +02:00
François Mockers
86be54df71 add default value for header User-Agent in requests 2018-06-03 15:48:00 +02:00
Nikolay Kim
ea018e0ad6 better examle in doc string 2018-06-02 16:03:23 -07:00
Nikolay Kim
b799677532 better error messages for overflow errors 2018-06-02 15:10:48 -07:00
Nikolay Kim
7298c7aabf
Merge branch 'master' into payload_err 2018-06-02 15:04:22 -07:00
Nikolay Kim
7e0706a942 implement Debug for Form, Query, Path extractors 2018-06-02 15:00:11 -07:00
Nikolay Kim
8b8a3ac01d Support chunked encoding for UrlEncoded body #262 2018-06-02 15:00:06 -07:00
Nikolay Kim
7ab23d082d fix doc test 2018-06-02 13:45:29 -07:00
Douman
913dce0a72
Merge branch 'master' into payload_err 2018-06-02 23:10:06 +03: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
Nikolay Kim
3c472a2f66 remove debug prints 2018-06-02 11:57:49 -07:00
Nikolay Kim
dcb561584d remove debug print 2018-06-02 11:55:50 -07:00
Nikolay Kim
4a39216aa7 fixed HttpRequest::url_for for a named route with no variables #265 2018-06-02 11:44:09 -07:00
Nikolay Kim
3bfed36fcc do not re-export actix_inner 2018-06-02 09:14:47 -07:00
Nikolay Kim
a61a1b0efe
Merge branch 'master' into trait-middleware-mut-self 2018-06-02 08:54:00 -07: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
Pascal Hertleif
47b7be4fd3 Add warning for missing API docs 2018-06-02 15:50:45 +02:00
Josh Leeb-du Toit
9c9eb62031 Update Middleware trait to use &mut self 2018-06-02 16:47:18 +10:00
Pascal Hertleif
d912bf8771 Add more docs to ResourceHandler API 2018-06-02 00:57:24 +02:00
Pascal Hertleif
f414a491dd Fix some ResourceHandler docs
Re-enables code blocks as doc tests to prevent them failing in the
future.
2018-06-02 00:57:07 +02:00
Nikolay Kim
8452c7a044 fix doc api example 2018-06-01 11:22:40 -07:00
Nikolay Kim
3e0a71101c drop with2 and with3 2018-06-01 10:54:23 -07:00
Nikolay Kim
c8930b7b6b fix rustfmt formatting 2018-06-01 10:27:23 -07:00
Nikolay Kim
3f5a39a5b7 cargo fmt 2018-06-01 09:37:14 -07:00