Skip to content
  • Jarek Radosz's avatar
    38ec8db3
    In `head`, set response body after headers. · 38ec8db3
    Jarek Radosz authored
    When using ActionController::Live setting content type header after response body resulted in a race condition, throwing either “ActionDispatch::IllegalStateError: header already sent” or “RuntimeError: can't modify frozen Hash”.
    This commit restores original order (i.e. from before 75757c5c).
    38ec8db3
    In `head`, set response body after headers.
    Jarek Radosz authored
    When using ActionController::Live setting content type header after response body resulted in a race condition, throwing either “ActionDispatch::IllegalStateError: header already sent” or “RuntimeError: can't modify frozen Hash”.
    This commit restores original order (i.e. from before 75757c5c).
Loading