Comments (1)
I found out that a big part of my problem is "testing" apparently there's a hidden undocumented optimization that prevents the headers from being written if the expected headers aren't in the request. So it would be good in addition to showing the expected spring security config to include how to test it within a junit test. That would show that you need headers.
from gs-rest-service-cors.
Related Issues (18)
- broken link and images on spring.io HOT 1
- Cors filter ignored HOT 3
- Spring Boot minimal application not running via Windows PowerShell HOT 2
- Remove unnecessary dependencies
- How do you handle OPTIONS requests with this sample guide? HOT 2
- update this guide once Spring Framework 4.2 + Boot 1.3 are released HOT 4
- Guide is not working as of 2015-11-25 HOT 4
- Cors Filter not working on external Tomcat Container HOT 2
- Screen shot is wrong
- Spring Guide recommends to use obsolete method HOT 4
- @CrossOrigin(origins="http://localhost:4200") is asking for array of string not single string HOT 1
- Add how to change the port in Gradle to the README HOT 1
- greeting method in GreetingController is missing @ResponseBody annotation. HOT 3
- Incorrect link to "Consuming a RESTful Web Service with jQuery" in "Enabling Cross Origin Requests for a RESTful Web Service" documentation HOT 2
- Incorrect HTTP client dependency HOT 1
- Update Spring Boot to the latest version HOT 4
- Differentiate same-origin and cross-origin use cases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gs-rest-service-cors.