1. 22 3月, 2019 1 次提交
  2. 31 1月, 2018 1 次提交
    • S
      Add Vary:Access-Control-Request-Method/Headers CORS headers · d02e4fb5
      sdeleuze 提交于
      This commit adds these 2 Vary headers in addition to the existing
      Origin one to avoid caching of Access-Control-Request-Method and
      Access-Control-Request-Headers headers which can be an issue
      when allowed methods or headers are unbounded and only the
      requested method or headers are returned in the response.
      
      Issue: SPR-16413
      d02e4fb5
  3. 23 11月, 2017 1 次提交
  4. 18 10月, 2017 1 次提交
  5. 30 9月, 2017 1 次提交
  6. 21 6月, 2017 1 次提交
  7. 16 3月, 2017 1 次提交
  8. 21 2月, 2017 1 次提交
  9. 14 1月, 2017 1 次提交
    • R
      Refactor reactive mock request and response support · ba3cc535
      Rossen Stoyanchev 提交于
      MockServerHttpRequest and MockServerHttpResponse now extend the same
      abstract base classes that server-specific implementations do and
      therefore approximate their behavior more closely.
      
      As an immediate consequence MockServerHttpRequest is read-only after
      it is created. Instead it now exposes static builder methods similar
      to those found in RequestEntity. This enforces more strictness as well
      as recycling of requests in tests and provides nicer builder methods.
      
      To simplify tests DefaultServerWebExchange now offers a constructor
      with just a request and response, and automatically creating a
      DefaultWebSessionManager.
      
      The spring-test module now also contains client-side reactive mock
      request and response implementations. The mock client request extends
      the same AbstractClientHttpRequest as client-specific implementations
      do. There is no abstract base class for client responses.
      
      Issue: SPR-14590
      ba3cc535
  10. 11 10月, 2016 2 次提交
    • R
      Polish reactive CORS support · 33c48e7a
      Rossen Stoyanchev 提交于
      33c48e7a
    • S
      Add Reactive CORS support · e31a2f77
      Sebastien Deleuze 提交于
      This is a port of Spring MVC CORS support for Spring Web Reactive:
       - CORS classes keep the same name but are in the
         web.cors.reactive package
       - CorsConfiguration is reused because not tied to Servlet API
       - CORS HandlerMapping integration is done at
         AbstractHandlerMapping level
       - AbstractUrlHandlerMapping and AbstractHandlerMethodMapping
         have been slightly modified to call
         AbstractHandlerMapping#processCorsRequest()
       - Both global CORS configuration + @CrossOrigin support have
         been implemented
      
      Issue: SPR-14545
      e31a2f77