- From: Willy Tarreau <w@1wt.eu>
- Date: Fri, 17 Jun 2022 19:46:50 +0200
- To: David Schinazi <dschinazi.ietf@gmail.com>
- Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, Martin Thomson <mt@lowentropy.net>, HTTP Working Group <ietf-http-wg@w3.org>
On Fri, Jun 17, 2022 at 10:31:39AM -0700, David Schinazi wrote: > Since it's Friday and we're exploring crazy thoughts, instead of > ":no-content" why not simply content-length=0? You're right that it already exists for exactly that purpose and would work out of the box. And any intermediary will be free to drop it when converting to H1 for methods that do not use a body by default, and it could be used as a work-around for those that for various reasons cannot send the FIN bit. Then I would suggest that we'd recommend that senders emit the FIN (or ES in H2 but that's already the case) along with the HEADERS frame, and that if they're not able to do it, as an alternative they should explicitly send content-length:0 to inform the recipient that it must not expect anything else. I'm pretty sure that we can come up with such a reasonable solution that can end up as an implementation advice so that we don't put any implementation into a difficult situation, so let's continue down that route! Willy
Received on Friday, 17 June 2022 17:47:05 UTC