Skip to content

Commit

Permalink
Allow "identity" conent-encoding in HTTP client
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkuu committed Aug 24, 2014
1 parent 478ddf0 commit 43415dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/http/client.d
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ final class HTTPClientResponse : HTTPResponse {
m_gzipInputStream = FreeListRef!GzipInputStream(m_bodyReader);
m_bodyReader = m_gzipInputStream;
}
else enforce(false, "Unsuported content encoding: "~*pce);
else enforce(*pce == "identity", "Unsuported content encoding: "~*pce);
}

// be sure to free resouces as soon as the response has been read
Expand Down

0 comments on commit 43415dc

Please sign in to comment.