Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@melehin
Copy link

@melehin melehin commented May 15, 2020

Bug: encoding a binary file data as a text/plain if a Content-Type charset not empty and equals binary or other

Two different files (curl'ed for debug):
image
image

Two files downloaded by the gocolly.
First red rectangle is a good file, second is a bad file.
Look around a "JFIFHH" magic symbol!
image

melehin and others added 2 commits May 15, 2020 14:37
… when a Content-Type charset is set

Bug: encoding a binary file data as a text/plain if a Content-Type charset not empty and equals binary or other
Copy link
Collaborator

@WGH- WGH- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this's most likely a bug, but this needs tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants