Strip the UTF8 BOM from a UTF encoded response #461

Merged
merged 1 commit into from Mar 5, 2013

Projects

None yet

2 participants

@kppullin
Contributor
kppullin commented Mar 4, 2013

Some frameworks, such as .NET, often emit the UTF8 byte-order-mark in
the HTTP response.

This commit strips out the BOM when the encoding is set to 'utf8' and
improves compatibility with external services.

(This is a copy of a previous commit for issue #371, which no longer
cleanly applies and requires a refresh).

@kppullin kppullin Strip the UTF8 BOM from a UTF encoded response
Some frameworks, such as .NET, often emit the UTF8 byte-order-mark in
the HTTP response.

This commit strips out the BOM when the encoding is set to 'utf8' and
improves compatibility with external services.

(This is a copy of a previous commit for issue #371, which no longer
cleanly applies and requires a refresh).
fa1ef30
@mikeal mikeal merged commit 97754ad into request:master Mar 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment