Skip to content

Headers have "\r" character #7455

@jpodpro

Description

@jpodpro

Upgrading from 0.19.1 to anything above results in strange header behavior.

0.19.1:

cache-control: "no-cache"
content-length: "3284"
content-type: "application/json; charset=utf-8"
expires: "-1"
pragma: "no-cache"

1.13.6:

cache-control: "no-cache\r"
content-length: "3284\r"
content-type: "application/json; charset=utf-8\r"
expires: "-1\r"
pragma: "no-cache\r"

Why do they all have newline characters? Is this intentional? I could not find anything about this. It seems strange to have to manually call replace('\r', '') just to get the actual value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue::bugThis issue is related to a bug that requires fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions