Skip to content

upctl storage import should allow content-type header to be specified manually for URLs #581

Description

@jpluscplusm

Is your feature request related to a problem? Please describe.

I'm trying to import a storage image that's compressed, but where the upstream server doesn't respond with the Content-Type header required by UpCloud. Therefore I'm forced to pull the image down locally, and upload it using the CLI.

Describe the solution you'd like

I'd like the upctl storage import command to provide an option to import from a URL, whilst allowing the content-type to be specified manually.

Describe alternatives you've considered

I'm downloading the image locally, and using the CLI's undocumented filename-extension sniffing to import it with the appropriate content-type header.

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedCan not proceed until something else has been resolved.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions