Skip to content

Failure to list objects when swift speaks HTTP2 #2509

@mandre

Description

@mandre

Some OpenStack environments may have Swift speaking HTTP2, possibly when behind a reverse proxy. It would fail with:

Cannot extract names from response with content-type: []

This error affected gophercloud v0.17.0 and below for listing containers, and was fixed in a seemingly unrelated patch via b7d5b2c#diff-775ab0e4f42bef31b7fc4b024f3be57b813ff2756645efab1869777bf589eefbR75

The error still affects listing objects. We may want to also treat an empty content type as text/plain there.

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