Project

General

Profile

« Previous | Next » 

Revision d27c31e0

Added by Akinori MUSHA about 17 years ago

  • lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
    Set the HTTP status code to 302 if a Location header field is
    present and the status code is not valid as a client
    redirection. cf. RFC 3875 6.2.3, 6.2.4.

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