1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-10 20:22:07 +00:00
Commit graph

977 commits

Author SHA1 Message Date
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
Nikolay Kim
154cd3c5de better actix mod re-exports 2018-06-01 09:36:16 -07:00
Douman
80965d7a9a
Re-export actix dependency. Closes #260 (#264)
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim
77becb9bc0 fix doc string 2018-05-29 18:48:39 -07:00
Nikolay Kim
dde266b9ef fix doc string 2018-05-29 18:31:39 -07: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
844be8d9dd fix ssl test server 2018-05-29 10:59:24 -07:00
Nikolay Kim
dffb7936fb Merge branch 'master' of github.com:actix/actix-web 2018-05-29 10:31:43 -07:00
Nikolay Kim
ecd05662c0 use new actix system api 2018-05-29 10:31:37 -07:00
Matthijs Brobbel
6b43fc7068
Fix typo in httpresponse.rs 2018-05-29 18:11:10 +02:00