Skip to content

Regression: 0.48 doesn't allow connecting via HTTP at all #1980

@Follpvosten

Description

@Follpvosten

Context: Our internal testing setup uses a minio instance so we can test against an actual S3 API, verify that signing URLs works as expected etc.

df31792 did not only update hyper-rustls and expose an option to use native or webpki roots, it also hardcoded the configuration to only support HTTPS without offering any way to configure this:

builder.https_only().enable_http2().build()

At least in some cases (like the one I outlined above), I think using .https_or_http() instead would be useful, so I would like to see it either made configurable (at runtime or compile-time), or just as the default to not break my testing setup right now (though that's a bit selfish lol.)

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