http-client 0.4.2 → 0.4.2.1
raw patch · 2 files changed
+7/−1 lines, 2 files
Files
- Network/HTTP/Client.hs +6/−0
- http-client.cabal +1/−1
Network/HTTP/Client.hs view
@@ -68,6 +68,12 @@ -- the case of an invalid URI. In addition, if you leverage the @IsString@ -- instance of the @Request@ value via @OverloadedStrings@, an invalid URI will -- result in a partial value. Caveat emptor!+--+-- Non-2xx responses: the default behavior of all functions in http-client is+-- to automatically perform up to 10 redirects (response codes 301, 302, 303,+-- and 307), and to throw a 'StatusCodeException' on all responses whose status+-- are not in the 2xx range. These behaviors can be overridden by the+-- 'redirectCount' and 'checkStatus' settings on a request, respectively. module Network.HTTP.Client ( -- * Performing requests withResponse
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.4.2+version: 0.4.2.1 synopsis: An HTTP client engine, intended as a base layer for more user-friendly packages. description: This codebase has been refactored from http-conduit. homepage: https://github.com/snoyberg/http-client