Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Re: consistency in received headers
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: dogma via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 12 Jun 2024 00:31:40 +0000
On Wed, Jun 12, 2024 at 12:28:21AM +0200, Daniel Stenberg wrote:
> On Tue, 11 Jun 2024, dogma via curl-library wrote:
>
> > That’s what I saw with HTTP, as expected, like
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "CRLF"
> >
> > But with file, it was
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "headerCRLFCRLF"
>
> Are you talking about file as in file:// ? They don't have headers.
Yes, file://
In lib/file.c, I can look in file_do(), and I see where it constructs a Content-Length header and an Accept-ranges header and a Last-Modified header.
Date: Wed, 12 Jun 2024 00:31:40 +0000
On Wed, Jun 12, 2024 at 12:28:21AM +0200, Daniel Stenberg wrote:
> On Tue, 11 Jun 2024, dogma via curl-library wrote:
>
> > That’s what I saw with HTTP, as expected, like
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "CRLF"
> >
> > But with file, it was
> > callback "headerCRLF"
> > callback "headerCRLF"
> > callback "headerCRLFCRLF"
>
> Are you talking about file as in file:// ? They don't have headers.
Yes, file://
In lib/file.c, I can look in file_do(), and I see where it constructs a Content-Length header and an Accept-ranges header and a Last-Modified header.
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-06-12