Skip to content

HTTPCLIENT-2411: Fix synthesized Date header format in cache conformance#775

Merged
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:HTTPCLIENT-2411
Jan 2, 2026
Merged

HTTPCLIENT-2411: Fix synthesized Date header format in cache conformance#775
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:HTTPCLIENT-2411

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

Use DateUtils.formatStandardDate when adding a missing Date header to ensure HTTP-date compliance.
Add a regression test that parses the generated Date header using DateUtils.parseStandardDate.

…eader

Add regression test for cache conformance Date formatting
@arturobernalg arturobernalg requested a review from ok2c January 2, 2026 11:48
@arturobernalg arturobernalg merged commit d07ff4d into apache:master Jan 2, 2026
10 checks passed
@arturobernalg

Copy link
Copy Markdown
Member Author

@ok2c cherry pick to 5.6.x right?

@ok2c

ok2c commented Jan 2, 2026

Copy link
Copy Markdown
Member

@ok2c cherry pick to 5.6.x right?

Of course, generally bug fixes with no API changes should always be cherry-picked to the stable branch

arturobernalg added a commit that referenced this pull request Jan 2, 2026
…eader (#775)

Add regression test for cache conformance Date formatting

(cherry picked from commit d07ff4d)
@arturobernalg

Copy link
Copy Markdown
Member Author

@ok2c cherry pick to 5.6.x right?

Of course, generally bug fixes with no API changes should always be cherry-picked to the stable branch

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants