How to Automatically Apply Http Headers during uploading. Default Http Headers.
S3 Browser
Free Windows Client for Amazon S3 and Amazon CloudFront
Follow:
Share:

Working with Default HTTP Headers

Default HTTP Headers overview

Default HTTP Headers allow you to apply pre-defined set of HTTP headers automatically when you upload your files to Amazon S3.

This is a set of rules. Each rule consists of Bucket name (or mask) and File name (or mask) which identify one or more objects to which the rule applies and the Header Key and Header Value.

When you upload the file via S3 Browser, it looks up for the matching rule. If corresponding rule found, the header defined in the rule is automatically applied. If multiple rules found, the first matching rule is applied.

The rules are stored locally in S3 Browser settings folder. If you define the rules on a Machine A and then upload the files from the Machine B, the rules are not applied. You may transfer rules to another computer, they are located in the %APPDATA%\S3Browser folder in the file named bucket.rules.

Using this feature you may automatically apply storage classes (x-amz-storage-class), permissions (x-amz-acl), server-side encryption (x-amz-server-side-encryption) and other s3-specific headers for files during uploading. You may also modify some standard HTTP headers like the Expires or the Content-Type header.

To add new default HTTP header

1. Click Tools, Default HTTP Headers

Click Tools, Default HTTP Headers

Click Tools, Default HTTP Headers to configure default HTTP headers.

The Default HTTP Headers dialog will open:

Default HTTP headers

Default HTTP headers dialog allows you to view/edit/delete default HTTP headers

2. Click Add, the Add New Default HTTP Header dialog will open:

The Add new default HTTP header dialog

The Add New Default HTTP Headers dialog

3. Specify the Bucket name or mask, Remote file name or mask, the Header name and the Header value and click Add.

Bucket name and File name are optional fields. If you will leave them empty, S3 Browser will apply this header for any file you upload to any bucket.

For example if you would like to apply the Content-Disposition header to all *.exe files in a bucket called s3browser you add the following default HTTP header:

  • Bucket: s3browser
  • File name: *.exe
  • Header name: Content-Disposition
  • Header value: attachement

As you may note, the wildcards are allowed in bucket name and in the file name.

3. Click Save changes


To Edit Existing HTTP Header

1. Select the header you want to edit and click Edit

edit default HTTP header

Select the header you want to edit and click Edit.

The Edit Default HTTP Header dialog will open:

The Edit default HTTP header dialog

The Edit New Default HTTP Headers dialog

2. Modify the fields you need and click Save changes.


To delete one or multiple default HTTP headers

1. Select the headers you want to delete and click Delete

Delete default HTTP headers

Select the headers you want to delete and click Delete.

2. Click Save changes

Additional Default HTTP Headers Dialog features

All described above Default HTTP Header operations and some additional features are available through the context menu and via the keyboard shortcuts.

default http headers dialog context menu

Do right-click to open the contex menu

S3 Browser 10.9.9 Freeware
Powered by Amazon Web Services and Rated by CNET Editors!
Social Connection
S3 Client Logo
Like Us!
 
People like S3 Browser!
People like us
Our customers say

"S3 Browser is an invaluable tool to me as a web developer to easily manage my automated site backups" -Bob Kraft, Web Developer

"Just want to show my appreciation for a wonderful product. I use S3 Browser a lot, it is a great tool." -Gideon Kuijten, Pro User

"Thank You Thank You Thank You for this tool. A must have for anyone using S3!" -Brian Cummiskey, USA

Related Products
FastGlacier
Windows Client for Amazon Glacier - new low-cost storage for data archiving and backup.
RdpGuard
protects your Windows Server from RDP Brute-force Attacks.
"Amazon Web Services", "AWS", "Amazon S3", "Amazon Simple Storage Service", "Amazon CloudFront", "CloudFront", the "Powered by Amazon Web Services" logo are trademarks of Amazon.com, Inc. or its affiliates in the US and/or other countries.
Copyright © 2008-2023 Netsdk Software FZE. All rights reserved.  Terms of Use.  Privacy Policy.  S3 Drive.  RDP brute-force protection.