On 07.06.2019 05:03, Gary Gregory wrote:
Hi All,
I need to generate HTTP Warning headers and I was wondering if a formatting
utility would be in scope for HTTP code since the formatting is a bit
tedious:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
<warn-code> <warn-agent> <warn-text> [<warn-date>]
Something like HttpWarning.format(warnCode, warnAgent, warnText, warnDate)
returns a String you can then use in headers and logging.
WDYT?
Gary
Are you aware of <https://github.com/httpwg/http-core/issues/139>?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]