Skip to content

Return the response HTTP version to the user #164

Closed
@grosch

Description

@grosch

var head = HTTPRequestHead(version: HTTPVersion(major: 1, minor: 1), method: request.method, uri: request.url.uri)

Why is this hardcoding 1.1? There are still severs that return 1.0, and when doing caching it's important to know whether it's a 1.0 or 1.1 type reply because that changes what you send back in to do validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions