exo storage headers delete
Description
This command deletes response HTTP headers from objects.
Example:
exo storage headers delete sos://my-bucket/data.json \
--cache-control \
--expires
Note: the “Content-Type” header cannot be removed, it is reset to its default value “application/binary”.
Supported output template annotations: .Path, .Bucket, .LastModified, .Size, .ACL, .Metadata, .Headers, .URL
exo storage headers delete sos://BUCKET/(OBJECT|PREFIX/) [flags]
Options
Option | Description |
---|---|
--cache-control | delete the "Cache-Control" header |
--content-disposition | delete the "Content-Disposition" header |
--content-encoding | delete the "Content-Encoding" header |
--content-language | delete the "Content-Language" header |
--content-type | delete the "Content-Type" header |
--expires | delete the "Expires" header |
--help, -h | help for delete |
--recursive, -r | delete headers recursively (with object prefix only) |
Options inherited from parent commands
Option | Description |
---|---|
--config, -C | Specify an alternate config file [env EXOSCALE_CONFIG] |
--output-format, -O | Output format (table|json|text), see "exo output –help" for more information |
--output-template | Template to use if output format is "text" |
--quiet, -Q | Quiet mode (disable non-essential command output) |
--use-account, -A | Account to use in config file [env EXOSCALE_ACCOUNT] |
Related Commands
- headers - Manage objects HTTP headers