RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1032733 - Missing Reason-Phrase in HTTP response header for *standard* 3-digit status codes
Summary: Missing Reason-Phrase in HTTP response header for *standard* 3-digit status c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.4
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Ondřej Pták
URL:
Whiteboard:
Depends On:
Blocks: 1150231 1162159
TreeView+ depends on / blocked
 
Reported: 2013-11-20 16:48 UTC by Justin Honold
Modified: 2021-01-14 09:34 UTC (History)
7 users (show)

Fixed In Version: httpd-2.2.15-35.el6
Doc Type: Bug Fix
Doc Text:
Cause: HTTP Reason-Phrase has not been added to the response if it included only Status code. Consequence: HTTP clients could see only Status code without the Reason-Phrase. Fix: HTTP Reason-Phrase is now added to the Status line even when original response contained only Status code. Result: HTTP clients see Reason-Phrase in the response as expected.
Clone Of:
: 1150231 1162159 (view as bug list)
Environment:
Last Closed: 2014-10-14 08:07:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1386 0 normal SHIPPED_LIVE httpd bug fix and enhancement update 2014-10-14 01:27:20 UTC

Description Justin Honold 2013-11-20 16:48:59 UTC
Description of problem: a combination of Apache HTTPD Server + Phusion Passenger 3.x will strip Reason-Phrases from status responses, leading to breakage of clients which rely on them.


Version-Release number of selected component (if applicable): httpd-2.2.15-29.el6.centos.x86_64, passenger (3.0.18)


How reproducible: 100%


Steps to Reproduce:
1. install httpd
2. install Passenger 3.0.18 via Ruby Gems
3. curl -sv http://URL/ 2>&1|grep 'HTTP/1.1 200'

Actual results: < HTTP/1.1 200


Expected results: < HTTP/1.1 200 OK


Additional info: while Reason-Phrases aren't explicitly necessary per the RFC, even Apache themselves have imported a fix into 2.4 and higher as per https://issues.apache.org/bugzilla/show_bug.cgi?id=54946

Comment 1 Justin Honold 2013-11-20 16:50:04 UTC
I should note - to reproduce, you do actually need to host a minimal Passenger-driven site.  The Apache issue has all kinds of details already, though, and an apparently-working patch.

Comment 3 Joe Orton 2013-11-20 17:03:08 UTC
Thank you for taking the time to enter a bug report with us. We appreciate the feedback and look to use reports such as this to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to  guarantee the timeliness or suitability of a resolution.

If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain  it receives the proper attention and prioritization to assure a timely resolution. 

For information on how to contact the Red Hat production support team, please visit:

https://www.redhat.com/support/process/production/#howto

Comment 12 Ondřej Pták 2014-09-15 09:59:51 UTC
httpd-2.2.15-29.el6
===================
:: [   PASS   ] :: Command 'curl -D header.log http://localhost/webapps/ > page' (Expected 0, got 0)
:: [   PASS   ] :: File 'page' should contain 'hello world' 
:: [   PASS   ] :: File 'header.log' should contain '200' 
:: [   FAIL   ] :: File 'header.log' should contain '200 OK' 


httpd-2.2.15-39.el6
===================
:: [   PASS   ] :: Command 'curl -D header.log http://localhost/webapps/ > page' (Expected 0, got 0)
:: [   PASS   ] :: File 'page' should contain 'hello world' 
:: [   PASS   ] :: File 'header.log' should contain '200' 
:: [   PASS   ] :: File 'header.log' should contain '200 OK'

Comment 13 errata-xmlrpc 2014-10-14 08:07:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1386.html


Note You need to log in before you can comment on or make changes to this bug.