Skip to content

Commit 1fa6c87

Browse files
author
Dhruvin Gandhi
authored
Fix a typo
Fixes #101
1 parent 7a784c1 commit 1fa6c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Network/HTTP.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ getResponseBody :: Result (Response ty) -> IO ty
205205
getResponseBody (Left err) = fail (show err)
206206
getResponseBody (Right r) = return (rspBody r)
207207

208-
-- | @getResponseBody response@ takes the response of a HTTP requesting action and
208+
-- | @getResponseCode response@ takes the response of a HTTP requesting action and
209209
-- tries to extricate the status code of the 'Response' @response@. If the request action
210210
-- returned an error, an IO exception is raised.
211211
getResponseCode :: Result (Response ty) -> IO ResponseCode

0 commit comments

Comments
 (0)