[pbs-devel] [PATCH proxmox 0/2] fix non-optional date header for S3 api response parsing

Christian Ebner c.ebner at proxmox.com
Fri Aug 8 13:41:15 CEST 2025


Fixes an implementation oversight with possibly missing http date
headers in the S3 API response parsing. The header is included in
the response by almost all providers, but it is documented as being
optional.

Also, includes regression tests for the http date header parsing.

Since the now optional date header in responses is currently not used
by any code path (it was only ever considered for time drift detection
between host and s3 provider), no further adaptions are required.

This will avoid issues as reported in:
https://forum.proxmox.com/threads/169395/

Christian Ebner (2):
  s3-client: fix non-optional date header for api response parsing
  s3-client: add regression tests for http date header parsing

 proxmox-s3-client/src/response_reader.rs | 57 +++++++++++++++++++-----
 proxmox-s3-client/src/timestamps.rs      |  2 +-
 2 files changed, 48 insertions(+), 11 deletions(-)

-- 
2.47.2





More information about the pbs-devel mailing list