Yong Wen Chua
fcd83e8fb5
Fix an issue where Fairing on_response will inject CORS headers into failed CORS requests
2017-07-19 09:52:30 +08:00
Yong Wen Chua
539157e0f0
Update Docs link and bump to 0.1.1
...
docs.rs cannot build nightly documentation
2017-07-18 18:27:24 +08:00
Yong Wen Chua
8fc8fef3eb
Add documentation ( #15 )
...
* Add documentation for Fairing
* Add Guard example and documentation
2017-07-18 18:22:20 +08:00
Yong Wen Chua
ebd75cd0ba
Rocket 0.3 is released
2017-07-15 10:37:10 +08:00
Yong Wen Chua
7dbc22b523
Delay CORS checks and response until `Responder::respond_to` is invoked ( #6 )
...
* Delay checking of CORS to just before responding
* Lifetime issues
* Use State::inner()
* Fix lifetime issues
* Bump Rocket
* Document 'static limitation
And link to https://github.com/SergioBenitez/Rocket/pull/345
* Remove extraneous comments
2017-07-15 01:38:13 +08:00
Yong Wen Chua
dfc1cdfee0
Refactor Implementation ( #3 )
...
* Introduce AllOrSome enum
More AllOrSome usage
Allowed methods
Preflight response
Response
* Additional documentation
* Support non CORS requests
2017-07-14 11:03:45 +08:00
Yong Wen Chua
c9190abdc4
Add README
2017-07-13 16:12:54 +08:00