Bug 61172 - HEAD request is handled differently to previous version
Summary: HEAD request is handled differently to previous version
Status: RESOLVED INVALID
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.4.6
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-10 07:36 UTC by oleg.dolomanov
Modified: 2017-06-10 15:36 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oleg.dolomanov 2017-06-10 07:36:58 UTC
Hi there,

I am sorry if this a duplicate. I have been using this request for a very long time:

---
HEAD http://site/folder/file.txt HTTP/1.0
Host: site:80
---

and it used to work just fine. However when I did update my CentOS 7 server to the latest version - this started giving 400 vs 200...

I have downgraded httpd:
Installed Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 45.el7.centos
Size        : 9.4 M
Repo        : installed
From repo   : base
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.

Available Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 45.el7.centos.4
Size        : 2.7 M
Repo        : updates/7/x86_64
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.

and it works again - could you please clarify the change?
Best wishes,
Oleg.
Comment 1 Eric Covener 2017-06-10 12:38:39 UTC
Maybe you're sending CR or LF instead of CR LF.  A vulnerability fix tightened conformance to the spec.  Anyones guess without logs.
Comment 2 oleg.dolomanov 2017-06-10 15:36:47 UTC
Indeed, I used to send just \n...