Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Samuel Thibault
Amos Jeffries, le jeu. 10 sept. 2020 06:55:50 +1200, a ecrit: > > I'm thinking that this should all be using \r\n instead of \n? > > In this case it means two line terminators. So "\n\n" or "\r\n\r\n". That's what I mean: try to replace all \n with \r\n. Possibly the parsing would need to be fixe

Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Amos Jeffries
On 10/09/20 5:16 am, Samuel Thibault wrote: > Amos Jeffries, le jeu. 10 sept. 2020 04:16:54 +1200, a ecrit: >> The HEAD request used to fetch metadata about a file via HTTP >> contains a trailing 0x20 character which will cause modern HTTP/1.1 >> servers to reject the request. > > Commited, thanks

Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Samuel Thibault
Amos Jeffries, le jeu. 10 sept. 2020 04:16:54 +1200, a ecrit: > The HEAD request used to fetch metadata about a file via HTTP > contains a trailing 0x20 character which will cause modern HTTP/1.1 > servers to reject the request. Commited, thanks! I'm thinking that this should all be using \r\n in

[PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Amos Jeffries
The HEAD request used to fetch metadata about a file via HTTP contains a trailing 0x20 character which will cause modern HTTP/1.1 servers to reject the request. === RCS file: /sources/hurdextras/httpfs/http.c,v retrieving revision 1.3