Nikolay Kim
3efcd14291
Merge branch 'master' into issue-271-cors-origin-validation
2018-06-04 10:20:08 -07:00
Nikolay Kim
47eb4e3d3d
Merge pull request #278 from mbrobbel/patch-2
...
Fix typo
2018-06-03 16:28:51 -07:00
Matthijs Brobbel
268c5d9238
Fix typo
2018-06-03 20:28:08 +02:00
Christoph Herzog
4f9dbf74bf
CORS: Do not validate Origin header on non-OPTION requests
...
The Origin header should not be validated on non OPTION-requests.
This provides no additional security and breaks non-web browser requests
which do not supply an origin header.
Fixes #271
2018-06-03 15:14:19 +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
8c7182f6e6
Merge pull request #270 from DoumanAsh/payload_err
...
Specialize ResponseError for PayloadError
2018-06-02 15:06:55 -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
698f0a1849
update changelog
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
593a66324f
update changelog
2018-06-02 11:45:37 -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
8d905c8504
add links to migration
2018-06-02 09:28:32 -07:00
Nikolay Kim
33326ea41b
fix layout
2018-06-02 09:25:11 -07:00
Nikolay Kim
0457fe4d61
add System changes to migration guide
2018-06-02 09:19:13 -07:00
Nikolay Kim
cede817915
update changelog
2018-06-02 09:15:44 -07:00
Nikolay Kim
3bfed36fcc
do not re-export actix_inner
2018-06-02 09:14:47 -07:00
Nikolay Kim
0ff5f5f448
update migration
2018-06-02 09:01:51 -07:00
Nikolay Kim
2f476021d8
Merge pull request #267 from joshleeb/trait-middleware-mut-self
...
Update Middleware Trait to Use `&mut self`
2018-06-02 08:54:30 -07:00
Nikolay Kim
a61a1b0efe
Merge branch 'master' into trait-middleware-mut-self
2018-06-02 08:54:00 -07:00
Nikolay Kim
e041e9d3b7
Merge pull request #268 from killercup/docs/no-more-missing-docs
...
No more missing docs
2018-06-02 08:52:14 -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
Nikolay Kim
8d73c30dae
Merge pull request #266 from killercup/docs/fix-typos-and-run-more-code
...
Fix some ResourceHandler docs
2018-06-01 16:37:34 -07: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
8f42fec9b2
stable compat
2018-06-01 12:17:13 -07:00
Nikolay Kim
8452c7a044
fix doc api example
2018-06-01 11:22:40 -07:00
Nikolay Kim
009ee4b3db
update changelog
2018-06-01 10:55:54 -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
34fd9f8148
travis config
2018-05-29 18:18:05 -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
Nikolay Kim
6eee3d1083
Merge pull request #258 from mbrobbel/patch-1
...
Fix typo in httpresponse.rs
2018-05-29 09:15:39 -07:00