diff options
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r-- | lib/cgi.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index c86ac3230..84d545f46 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -505,7 +505,9 @@ status: when /^content-encoding$/ni Apache::request.content_encoding = value when /^location$/ni - Apache::request.status = 302 + if Apache::request.status == 200 + Apache::request.status = 302 + end Apache::request.headers_out[name] = value else Apache::request.headers_out[name] = value |