headers icon indicating copy to clipboard operation
headers copied to clipboard

Support for "Structured Field Values for HTTP"

Open ghostd opened this issue 5 years ago • 2 comments

Hi,

Is this draft planned to be supported by the project? I'd like to implement the Reporting API for the servo project and i need to parse the "Reporting-Endpoints" header.

I wonder if it could be useful to add the parsing and the structured header into this lib?

Any ideas/comments/guidance are welcome :)

Regards

ghostd avatar Oct 01 '20 17:10 ghostd

I hadn't seen that structured header values RFC, looks cool! Regarding the Reporting-Endpoints, I'd suggest first figuring it out in Servo, and afterwards we can see about adding it here if need be.

seanmonstar avatar Oct 01 '20 18:10 seanmonstar

"Structured Field Values for HTTP" got published as RFC 8941. The rust implementation of the RFC is sfv by @undef1nd. It is already used in Firefox.

pyfisch avatar Feb 11 '21 12:02 pyfisch