[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-11-12 Thread Piotr Dobrogost
Hi, Using Apache 2.4.57 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very similar question

[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-10-11 Thread Piotr Dobrogost
Hi, Using Apache 2.4.57 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very similar question

Re: [users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-02-02 Thread Piotr Dobrogost
On Thu, Feb 2, 2023 at 11:12 AM Antony Stone wrote: > > On Thursday 02 February 2023 at 11:02:26, Piotr Dobrogost wrote: > > > Hi, > > > > On freshly installed Apache 2.4.52 on Fedora with default > > configuration I'm observing that for HEAD response the Content-Length > > header is not being sen

Re: [users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-02-02 Thread Antony Stone
On Thursday 02 February 2023 at 11:02:26, Piotr Dobrogost wrote: > Hi, > > On freshly installed Apache 2.4.52 on Fedora with default > configuration I'm observing that for HEAD response the Content-Length > header is not being sent for empty files Content-length is not a required field for Head

[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-02-02 Thread Piotr Dobrogost
Hi, On freshly installed Apache 2.4.52 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very s

[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2023-01-06 Thread Piotr Dobrogost
Hi, On freshly installed Apache 2.4.52 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very s

[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2022-05-02 Thread Piotr Dobrogost
Hi, On freshly installed Apache 2.4.52 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very s

[users@httpd] Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2022-03-17 Thread Piotr Dobrogost
Hi, On freshly installed Apache 2.4.52 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing HEAD to GET the header is present for such files. Sidney Shek asked very s