Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Bug: Binary static files being served incorrectly #15

Closed
paulbellamy opened this Issue · 1 comment

1 participant

@paulbellamy
Owner

Symptom: Incorrect data is being served by mango.Static for binary files.

Possible cause: The mango.Body type is a string, so binary bytes are typecast to string in mango.Static.

Possible solution: Change mango.Body type to []byte

@paulbellamy
Owner

Bug in writing data to the ResponseWriter. No API changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.