Re: [PATCH v2 1/3] remote-curl: add testing for intelligent retry for HTTP
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 14, 2020, 18:13 UTC
- Message-ID
- <CAPc5daW4oqQHNJJH-jTJNaqiNJDLdtscfvNMpgQUOJhDf-Jj1Q@mail.gmail.com>
- In-Reply-To
- <CAM4o00es=6bksufcu7UvLfPxSS-9NndD2ALe74PRvQjBdHci5g@mail.gmail.com>
> I modified it to use echo as the standard, it turns out apache handles > properly terminating lines for you > with CRLF. As for the lone echo, a double CRLF signals the end of the response > header and the start of the body. Curl doesn't behave properly without it.
You misunderstood me. I wasn't questioning the need for a blank line. I found the inconsistency puzzling that all the previous ones (above) were done with printf and the later one was done with echo.