We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a784c1 commit 1fa6c87Copy full SHA for 1fa6c87
Network/HTTP.hs
@@ -205,7 +205,7 @@ getResponseBody :: Result (Response ty) -> IO ty
205
getResponseBody (Left err) = fail (show err)
206
getResponseBody (Right r) = return (rspBody r)
207
208
--- | @getResponseBody response@ takes the response of a HTTP requesting action and
+-- | @getResponseCode response@ takes the response of a HTTP requesting action and
209
-- tries to extricate the status code of the 'Response' @response@. If the request action
210
-- returned an error, an IO exception is raised.
211
getResponseCode :: Result (Response ty) -> IO ResponseCode
0 commit comments