New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBrick::HTTPResponse: move error_body to method #1307

Closed
wants to merge 1 commit into
base: trunk
from

Conversation

1 participant
@spk

spk commented Mar 26, 2016

This allow to override the body more easily.
Cheers

WEBrick::HTTPResponse: move error_body to method
This allow to override the body more easily.

@hsbt hsbt closed this in c2355ae Mar 29, 2016

@spk spk deleted the spk:webrick-allow-custom-error-page branch Mar 30, 2016

mrkn pushed a commit to mrkn/ruby that referenced this pull request Apr 17, 2016

* lib/webrick/httpresponse.rb: Move error_body to method. It allow to
  override the body more easily. [fix rubyGH-1307]
* test/webrick/test_httpresponse.rb: ditto.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@54346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

tenderlove pushed a commit to tenderlove/ruby that referenced this pull request May 1, 2016

* lib/webrick/httpresponse.rb: Move error_body to method. It allow to
  override the body more easily. [fix rubyGH-1307]
* test/webrick/test_httpresponse.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment