Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolves #1064 Fixes date-related HTTP headers #1065

Merged
merged 4 commits into from
Jan 26, 2022

Conversation

MarcelWaldvogel
Copy link
Contributor

Changes date headers to the HTTP format.

(Not tested yet, please wait with merging)

@MarcelWaldvogel
Copy link
Contributor Author

MarcelWaldvogel commented Jan 15, 2022

Works as it should and fixes #1064 . Generating a test for it seems overly complicated, so I'll refrain from it for now. I hope you agree.

@ggrossetie
Copy link
Member

Generating a test for it seems overly complicated, so I'll refrain from it for now. I hope you agree.

It should be relatively straightforward if today is an optional parameter (default value is System.currentTimeMillis()). Then, in your test you can use a fixed timestamp.

But first let's agree on what we should do (in the issue)

* Upgrade maven-resources-plugin to 3.1.0, as 2.6 does not
  correctly replace `${maven.build.timestamp}`
* Move reading the properties to `Main`, as it is now kind of global
@ggrossetie
Copy link
Member

Sorry, I just saw that you pushed new commits, I will review 👍🏻

@ggrossetie
Copy link
Member

Made a few adjustments but otherwise it's great, thanks 🎉

@ggrossetie ggrossetie merged commit 25b6baa into yuzutech:main Jan 26, 2022
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