Skip to content

S3cmd "--add-header" can not use underline #1054

@Zstro

Description

@Zstro

I can not use s3cmd to put a file with “--add-header=X-Amz-meta-asd_ad:asdad”, just because of underline.

s3cmd put --add-header="X-Amz-meta-asd_ad:asdad" test.go s3://zztest
ERROR: Parameter problem: Invalid character(s) in header name 'X-Amz-meta-asd_ad': "_"

Is there any solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions