Skip to content

Instantly share code, notes, and snippets.

@renews
Created January 15, 2014 12:28
Show Gist options
  • Save renews/8435342 to your computer and use it in GitHub Desktop.
Save renews/8435342 to your computer and use it in GitHub Desktop.
Webrick => httpresponse.rb correction so it ill not spam Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
line 205: if chunked? || @header['content-length'] || @status == 304 || @status == 204 || HTTPStatus.info?(@status)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment