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

Reply via email to