Nikolay Kim
|
5b06f2bee5
|
port cors middleware
|
2019-03-23 21:29:16 -07:00 |
|
David McGuire
|
cc7f6b5eef
|
Fix preflight CORS header compliance; refactor previous patch. (#717)
|
2019-03-11 07:26:54 +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
|
9f1417af30
|
refactor http service builder
|
2018-09-27 18:33:29 -07:00 |
|
Douman
|
1b298142e3
|
Correct composing of multiple origins in cors (#518)
|
2018-09-21 08:45:22 +03:00 |
|
Nikolay Kim
|
1716380f08
|
clippy fmt
|
2018-08-23 09:48:01 -07:00 |
|
Mathieu Amiot
|
9a10d8aa7a
|
Fixed headers' formating for CORS Middleware Access-Control-Expose-Headers header value to HTTP/1.1 & HTTP/2 spec-compliant format (#436)
|
2018-08-03 15:03:11 +03:00 |
|
Nikolay Kim
|
da915972c0
|
refactor router
|
2018-07-15 16:25:56 +06:00 |
|
Nikolay Kim
|
b8b90d9ec9
|
rename ResourceHandler to Resource
|
2018-07-12 15:30:01 +06:00 |
|
Nikolay Kim
|
fec6047ddc
|
refactor HttpRequest mutability
|
2018-07-02 23:35:32 +06:00 |
|
Nikolay Kim
|
65ca563579
|
use read only self for Middleware
|
2018-06-21 23:06:23 +06: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
|
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 |
|
Josh Leeb-du Toit
|
9c9eb62031
|
Update Middleware trait to use &mut self
|
2018-06-02 16:47:18 +10:00 |
|
Nikolay Kim
|
3f5a39a5b7
|
cargo fmt
|
2018-06-01 09:37:14 -07:00 |
|
Nikolay Kim
|
45e9aaa462
|
rustfmt 0.7
|
2018-05-17 12:20:20 -07:00 |
|
Nikolay Kim
|
c72d1381a6
|
clippy warnings
|
2018-04-29 09:09:08 -07:00 |
|
Nikolay Kim
|
de49796fd1
|
clippy warnings; fmt
|
2018-04-28 22:55:47 -07:00 |
|
Nikolay Kim
|
e9bdba57a0
|
Add identity service middleware
|
2018-04-18 19:05:24 -07:00 |
|
Nikolay Kim
|
113f5ad1a8
|
add rustfmt config
|
2018-04-13 16:02:01 -07:00 |
|
Nikolay Kim
|
23eea54776
|
update cors doc string
|
2018-04-09 21:39:32 -07:00 |
|
Nikolay Kim
|
2881859400
|
proper test for CorsBuilder::resource
|
2018-04-09 21:29:57 -07:00 |
|
Nikolay Kim
|
1686682c19
|
extend CorsBuilder api to make it more user friendly
|
2018-04-09 21:11:15 -07:00 |
|
Nikolay Kim
|
be358db422
|
CorsBuilder::finish() panics on any configuration error
|
2018-04-09 14:20:12 -07:00 |
|
Nikolay Kim
|
17c27ef42d
|
HttpRequest::resource() returns current matched resource
|
2018-04-01 17:37:22 -07:00 |
|
Nikolay Kim
|
3ee228005d
|
rename Application
|
2018-03-31 00:16:55 -07:00 |
|
Nikolay Kim
|
44e3df82f6
|
simplify http response construction; deprecate httpcodes
|
2018-03-30 23:07:33 -07:00 |
|
Nikolay Kim
|
9e751de707
|
re-arrange modules and exports
|
2018-03-30 17:31:18 -07:00 |
|
Nikolay Kim
|
4263574a58
|
fix panic in cors if request does not contain origin header and send_wildcard is not set
|
2018-03-10 08:31:20 -08:00 |
|
Nikolay Kim
|
206c4e581a
|
rename httpcodes
|
2018-03-01 19:12:59 -08:00 |
|
Nikolay Kim
|
a7bf635158
|
unify headers and body processing for client response and server request
|
2018-02-27 15:03:28 -08:00 |
|
Nikolay Kim
|
edd114f6e4
|
allow to set default content encoding on application level
|
2018-02-18 22:23:17 -08:00 |
|
Alexander Andreev
|
a565e71018
|
spelling check
|
2018-01-31 20:28:53 +03:00 |
|
Nikolay Kim
|
71d534dadb
|
CORS middleware: allowed_headers is defaulting to None #50
|
2018-01-20 16:36:57 -08:00 |
|
Alexander Andreev
|
58df8fa4b9
|
spelling check
|
2018-01-16 21:59:33 +03:00 |
|
Nikolay Kim
|
bc6bb9984f
|
user guide spelling
|
2018-01-13 11:17:48 -08:00 |
|
Nikolay Kim
|
eb8052b936
|
fix cors tests
|
2018-01-11 20:20:50 -08:00 |
|
Nikolay Kim
|
dab918261c
|
fix cors allowed header validation
|
2018-01-11 20:11:34 -08:00 |
|
Nikolay Kim
|
d152860fa7
|
add Cors::register method
|
2018-01-11 11:14:18 -08:00 |
|
Nikolay Kim
|
f7807e43d8
|
cleanup Binary type; more cors tests
|
2018-01-10 15:28:33 -08:00 |
|
Nikolay Kim
|
fee54d1de0
|
tests for cors response
|
2018-01-10 14:56:45 -08:00 |
|
Nikolay Kim
|
1445cc7a2c
|
test for cors
|
2018-01-10 14:21:48 -08:00 |
|
Nikolay Kim
|
16e9512457
|
better names for cors errors
|
2018-01-10 14:20:00 -08:00 |
|
Nikolay Kim
|
615db0d9d8
|
complete cors implementation
|
2018-01-10 13:41:33 -08:00 |
|
Nikolay Kim
|
4b72a1b325
|
create custom WebsocketContext for websocket connection
|
2018-01-10 10:12:34 -08:00 |
|
Nikolay Kim
|
8aae2daafa
|
update example
|
2018-01-10 07:55:25 -08:00 |
|
Nikolay Kim
|
d7f59ce481
|
add cors preflight request support
|
2018-01-09 23:55:42 -08:00 |
|
Nikolay Kim
|
ce78f17a79
|
refactor Middleware trait, use Result
|
2018-01-09 22:48:35 -08:00 |
|
Nikolay Kim
|
16310a5ebd
|
initial work on cors middleware
|
2018-01-09 22:33:51 -08:00 |
|