Skip to content

Commit 8ca3be5

Browse files
authored
Merge pull request #131 from dhruvin2910/patch-1
Fix a typo
2 parents 70861a6 + 1fa6c87 commit 8ca3be5

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)