Skip to content

Declare content-type for file uploads to scan storages #7261

@vw-anton

Description

@vw-anton

There are web servers which like to have a valid content-type header defined for requests.
We would therefore expect that file uploads like we do in https://github.com/oss-review-toolkit/ort/blob/main/utils/ort/src/main/kotlin/storage/HttpFileStorage.kt declare the media type of the body. E.g. for ZIP file upload "application/zip".

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationAbout configuration topicshelp wantedAn issue where third-party help is wanted onmodelAbout the data modelscannerAbout the scanner tool

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions