Skip to content

Better scheme detection based on RFC7239 #1310

@ioquatix

Description

@ioquatix

It seems like X-Forwarded-* is officially deprecated in favour of Forwarded: *= as defined in https://tools.ietf.org/html/rfc7239

I believe would be a good idea for Rack to support this.

There is at least one area where modifications are required: Request#scheme.

There may be others.

I am happy to submit a PR, but I thought we should discuss this first.

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