You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't cache requests with Accept: text/event-stream by default.
The eventstream requests is typically not directly invoked by the browser.
And even more unfortunately the Browser-Api doesn't allow the set additional headers as `XMLHttpRequest`..
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/web/configurers/RequestCacheConfigurer.java
Copy file name to clipboardExpand all lines: config/src/test/java/org/springframework/security/config/annotation/web/configurers/RequestCacheConfigurerTests.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,21 @@ public void getWhenBookmarkedRequestIsXRequestedWithThenPostAuthenticationRedire
183
183
184
184
// This is desirable since XHR requests are typically not invoked directly from the browser and we don't want the browser to replay them
0 commit comments