Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv-client: switch to RFC 9110 compatible format
This still utilizes the RFC 2822 datetime formatter, but utilizes new methods [added in jiff 0.1.14] to emit timestamps in a format strictly compatible with RFC 9110. It seems like most HTTP servers were pretty flexible and supported RFC 2822 datetime formats, but #8747 shows at least one case where that isn't true. Given that the [MDN docs prescribe RFC 9110], we defer to them. Fixes #8747 [added in jiff 0.1.14]: BurntSushi/jiff#154 [MDN docs prescribe RFC 9110]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since
- Loading branch information