Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cdepillabout committed Jul 16, 2018
1 parent 9a18565 commit b17fc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servant-client/src/Servant/Client/Internal/HttpClient.hs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ performRequest req = do
let status = Client.responseStatus response
status_code = statusCode status
ourResponse = clientResponseToResponse response
unless (status_code >= 200 && status_code < 300) $
throwError $ FailureResponse ourResponse
-- unless (status_code >= 200 && status_code < 300) $
-- throwError $ FailureResponse ourResponse
return ourResponse

performStreamingRequest :: Request -> ClientM StreamingResponse
Expand Down

0 comments on commit b17fc2b

Please sign in to comment.