rack_response should use the status it's given

This commit is contained in:
Aaron Patterson 2015-09-08 16:25:44 -07:00
parent 89e61f0133
commit c33f51a894

@ -402,7 +402,7 @@ def to_ary
end
def rack_response(status, header)
if NO_CONTENT_CODES.include?(@status)
if NO_CONTENT_CODES.include?(status)
header.delete CONTENT_TYPE
header.delete 'Content-Length'
[status, header, []]