Henk Mollema
e790a9bb10
Inject ICorsPolicyProvider instance through Invoke
...
This allows for scoped instances of `ICorsPolicyProvider` to be injected in the CORS middleware and prevents turning them into singletons.
Resolves #105
2018-11-09 14:40:51 -08:00
Javier Calvarro Nelson
aa88f16b08
Fix cors with creds ( #193 )
2018-10-24 12:56:07 -07:00
Pranav K
2690a3f621
Remove filtering from CorsService
...
* Add browser based integration tests
2018-10-11 12:23:40 -07:00
Daniel Little
554855cab3
No CORS headers sent if Exception is thrown
...
- Normally headers are added however if a controller throws an exception then CORS headers not be present.
Addresses aspnet/Home#3220
2018-06-25 14:00:30 -07:00
Kiran Challa
5eae687ddd
Updated EnableCorsAttribute and UseCors extension to not have to supply a policy name.
2017-09-12 17:06:05 -07:00
Nate McMaster
1c093cbbad
Upgrade to xunit 2.3.0-beta4
2017-08-22 12:32:02 -07:00
Kiran Challa
15b66cec1f
[ Fixes #77 ] Make HTTP method match as case-insensitive
2016-08-08 14:28:16 -07:00
Doug Bunting
5a3ea74ffa
React to HttpAbstractions namespace changes
...
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:30:42 -07:00
N. Taylor Mullen
8ed31de917
Rename AspNet 5 file contents.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:27 -08:00
N. Taylor Mullen
28c03ef2e7
Rename AspNet 5 folders and files.
...
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:25 -08:00