Re:The Idempotency-Key HTTP header field
by mcqueenjordan on Sunday July 04, 2021 @05:05PM
(#27732613)
The underlying protocol is not necessarily HTTP.
[ Parent
| on HN ]
Re:The Idempotency-Key HTTP header field
by staticassertion on Sunday July 04, 2021 @06:19PM
(#27733091)
I think it is necessarily HTTP/2, but would be happy to learn I'm mistaken - it's not something I'm overly confident about.
https://developers.googleblog.com/2015/02/introducing-grpc-n...
gRPC uses HTTP/2.0 yes, so headers are a concept, but imagine taking it one step further, for instance using WebSockets. There is no concept of headers within an individual WebSocket message, so it would need to be encapsulated in an application-specific way anyway.