Skip to content

Incorrect content type sent with pasted txt when downloaded with /o/text.txt #44

@pcmike

Description

@pcmike

The content-type is being sent as text/csv instead of text/plain resulting in some browsers downloading a plain.txt as plain.csv. You can see this in action below...

GET /o/response.txt HTTP/2
Host: linx.server
User-Agent: curl/8.7.1
Accept: /

Request completely sent off
< HTTP/2 200
< date: Sat, 29 Mar 2025 17:23:21 GMT
< content-type: text/csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions