Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data HttpException
- = ChunkTooLarge
- | ChunkedBodyEndOfInput
- | NonchunkedBodyEndOfInput
- | ContentLengthDuplicated
- | ContentLengthMalformed
- | ContentLengthTooLarge
- | ExpectedCrlfAfterChunk
- | ExpectedCrlfAfterChunkLength
- | ExpectedCrlfBeforeChunkLength
- | HeadersMalformed
- | HeadersEndOfInput !Bytes
- | HeadersTooLarge
- | ImplementationMistake
- | NonNumericChunkLength
- | PipelinedResponses
- | TransferEncodingUnrecognized
- | TransferEncodingDuplicated
Documentation
data HttpException Source #
Exceptions that occur when decoding an HTTP response. If this happens, the only way to proceed is to shut down the connection. Either the server does not speak HTTP correct, or there is a mistake in this libary.
ChunkTooLarge | |
ChunkedBodyEndOfInput | |
NonchunkedBodyEndOfInput | |
ContentLengthDuplicated | |
ContentLengthMalformed | |
ContentLengthTooLarge | |
ExpectedCrlfAfterChunk | |
ExpectedCrlfAfterChunkLength | |
ExpectedCrlfBeforeChunkLength | |
HeadersMalformed | |
HeadersEndOfInput !Bytes | The entire contents of the response. |
HeadersTooLarge | |
ImplementationMistake | If this one happens, there is a mistake in this library. |
NonNumericChunkLength | |
PipelinedResponses | |
TransferEncodingUnrecognized | |
TransferEncodingDuplicated |
Instances
Exception HttpException Source # | |
Defined in Http.Exchange.Types | |
Show HttpException Source # | |
Defined in Http.Exchange.Types showsPrec :: Int -> HttpException -> ShowS # show :: HttpException -> String # showList :: [HttpException] -> ShowS # |