theduke
418050d104
Merge 3efcd14291
into 960a8c425d
2018-06-05 14:43:34 +00:00
Nikolay Kim
960a8c425d
update changelog
2018-06-05 07:40:11 -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
67ee24f9a0
Merge pull request #274 from mockersf/user-agent
...
add default value for header User-Agent in requests
2018-06-04 14:04:52 -07:00
Nikolay Kim
5004821cda
Merge branch 'master' into user-agent
2018-06-04 14:04:45 -07:00
Nikolay Kim
ae7a0e993d
update changelog
2018-06-04 13:43:52 -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
François Mockers
b07c50860a
update changelog
2018-06-04 22:34:07 +02:00
Nikolay Kim
eb0909b3a8
Merge branch 'master' into user-agent
2018-06-04 10:20:53 -07:00
Nikolay Kim
3efcd14291
Merge branch 'master' into issue-271-cors-origin-validation
2018-06-04 10:20:08 -07:00
François Mockers
ca3fb11f8b
add actix-web version in header
2018-06-04 08:15:04 +02: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
François Mockers
86be54df71
add default value for header User-Agent in requests
2018-06-03 15:48:00 +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