• A
    only write the jar if the response isn't committed · 77a09218
    Aaron Patterson 提交于
    when streaming responses, we need to make sure the cookie jar is written
    to the headers before returning up the stack. This commit introduces a
    new method on the response object that writes the cookie jar to the
    headers as the response is committed.  The middleware and test framework
    will not write the cookie headers if the response has already been
    committed.
    
    fixes #14352
    77a09218
response.rb 8.3 KB