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.html