# exo storage headers add
### Description

This command adds response HTTP headers to objects.

Example:

    exo storage headers add sos://my-bucket/data.json \
        --content-type=application/json \
        --cache-control=no-store

Note: adding an already existing header will overwrite its value.

Supported output template annotations: .Path, .Bucket, .LastModified, .Size, .ACL, .Metadata, .Headers, .URL, .ReplicationStatus

```
exo storage headers add sos://BUCKET/(OBJECT|PREFIX/) [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--cache-control` | value for &#34;Cache-Control&#34; header |
|`--content-disposition` | value for &#34;Content-Disposition&#34; header |
|`--content-encoding` | value for &#34;Content-Encoding&#34; header |
|`--content-language` | value for &#34;Content-Language&#34; header |
|`--content-type` | value for &#34;Content-Type&#34; header |
|`--expires` | value for &#34;Expires&#34; header |
|`--help, -h` | help for add |
|`--recursive, -r` | add 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 &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [headers]({{< ref "../headers">}})	 - Manage objects HTTP headers


