1. 22 3月, 2019 3 次提交
  2. 21 3月, 2019 2 次提交
  3. 20 3月, 2019 2 次提交
  4. 13 3月, 2019 2 次提交
  5. 08 3月, 2019 1 次提交
  6. 06 3月, 2019 1 次提交
  7. 05 3月, 2019 3 次提交
  8. 02 3月, 2019 1 次提交
  9. 26 2月, 2019 1 次提交
  10. 28 1月, 2019 1 次提交
  11. 26 1月, 2019 1 次提交
  12. 23 1月, 2019 1 次提交
  13. 19 1月, 2019 1 次提交
  14. 09 1月, 2019 1 次提交
  15. 03 1月, 2019 1 次提交
  16. 13 12月, 2018 1 次提交
  17. 12 12月, 2018 1 次提交
  18. 05 12月, 2018 1 次提交
  19. 23 11月, 2018 3 次提交
  20. 21 11月, 2018 1 次提交
  21. 20 11月, 2018 2 次提交
  22. 19 11月, 2018 3 次提交
    • B
      Remove Content-Length response header from errors · 3203d398
      Brian Clozel 提交于
      Prior to this commit, when errors happened before the response was
      committed, the `Content-Length` response header would be left as is.
      This can be problematic since the error can be handled later in the
      chain and the response body changed accordingly. For example, Spring
      Boot renders error pages in those cases. If the `Content-Length` is set,
      HTTP clients can get confused and only consider part of the error
      response body.
      
      This commit ensures that any `Content-Length` response header is removed
      in case of errors, if the response is not already committed.
      
      This is done at the `AbstractServerHttpResponse` level, since errors can
      be handled in multiple places and the response itself is the safest
      place to handle this case.
      
      As a consequence, this commit also removes `Content-Length` checks in
      `EncoderHttpMessageWriter` since we now consider that we should rely on
      the response body we're about to write rather than any previously set
      value.
      
      Issue: SPR-17502
      3203d398
    • S
      Polish contribution · 7b6f2f8f
      Stephane Nicoll 提交于
      Closes gh-2019
      7b6f2f8f
    • H
      Fix typos · bfb49c72
      Hanope 提交于
      See gh-2019
      bfb49c72
  23. 16 11月, 2018 2 次提交
  24. 14 11月, 2018 3 次提交
  25. 13 11月, 2018 1 次提交