ASK: rfc7235 auth-param parser?

does anybody happen to have such a parser at hand?

Otherwise I build one with tyre.

P.S.: I need it for #Seppo! / ActivityPub and think a mere split on , is not production ready.

for the record: parse http signature header (RFC 7235 auth-param list like in credentials) · 75a5647b4b - seppo - Codeberg.org

Take a look at the uri library; I believe it has decoders but they are under a name that surprised me when I last needed them.

1 Like

thanks @lindig, but it’s not about uri, it’s about the (‘signature’) header field. I cannot find a related function in Uri.