Skip to content

Using urlparse(AWS_ENDPOINT_URL).scheme #73

@pmontanari

Description

@pmontanari

Hello,

In order to avoid hardcoding the Service endpoint scheme to:
return f"http://{hostname}:{EDGE_PORT}"

Why not adding:

LOCALSTACK_SCHEME = urlparse(AWS_ENDPOINT_URL).scheme or "http"

and then:

return f"{LOCALSTACK_SCHEME}://{hostname}:{EDGE_PORT}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions