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

Make it possible to override content-type and content-encoding from CLI arguments #467

Merged

Conversation

nattofriends
Copy link
Contributor

This PR lets users override Content-Type and Content-Encoding headers, to close #264. #318 is a similar PR which added the --cache-control and --expires options.

@nattofriends nattofriends requested a review from a team as a code owner July 15, 2022 01:52
@nattofriends nattofriends requested review from aykutfarsak and sonmezonur and removed request for a team July 15, 2022 01:52
@nattofriends
Copy link
Contributor Author

Oops, didn't notice #466 exists too

@nattofriends nattofriends force-pushed the content-type-content-encoding-overridable branch from 5490824 to 330c26c Compare July 15, 2022 02:01
@sonmezonur
Copy link
Member

@nattofriends Thanks for your contribution. Could you please update CHANGELOG?

@sonmezonur
Copy link
Member

sonmezonur commented Jul 19, 2022

@nattofriends Also, adding examples to cp help text would be useful.

@nattofriends nattofriends force-pushed the content-type-content-encoding-overridable branch from 9a4774d to 8d7ca99 Compare July 19, 2022 18:00
@sonmezonur
Copy link
Member

🚀

@sonmezonur sonmezonur merged commit 38b0fdf into peak:master Jul 20, 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.

How to add custom metadata e.g "cache-control"?
3 participants