Custom Amazon S3 request headers

New Features

We've just added a handy new feature for those of you that deploy your code to Amazon S3 buckets with DeployHQ - the ability to add custom request headers to your S3 configuration that will include useful metadata along with files that are uploaded.

From now on, when you're configuring your buckets you'll find a new S3 Request Headers section below the bucket configuration. You can add any headers you like here, in a Header Key -> Header Value -> Pattern format.

This is intended to be as flexible as possible, so you can do anything from adding a Cache-Control header that is only added to a specific file, or a Content-Disposition header for all files of a certain type.

S3 directives

Once you've configured these, the headers will be sent with any files matching the set pattern.

You can find out more in our documentation and as always, get in touch if you have any questions.

Incidentally, we're also sponsoring Wordcamp Brighton this weekend - if you happen to be there, pop by our stand and say Hi!

A little bit about the author

I'm Adam W, or as everyone prefers to call me - Batman. I get a lot of satisfaction out of helping our customers and am committed to making their customer experience as positive as possible. When not offering support to our customers, you'll find me gaming, listening to music or running.

Proudly powered by Katapult. Running on 100% renewable energy.