Skip to content

Commit

Permalink
Improved docs
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Apr 3, 2012
1 parent a1038ac commit 82e0e77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Network/HTTP/Conduit/Request.hs
Expand Up @@ -59,6 +59,16 @@ type ContentType = S.ByteString
-- construct from a URL, and then use the records below to make modifications.
-- This approach allows http-conduit to add configuration options without
-- breaking backwards compatibility.
--
-- For example, to construct a POST request, you could do something like:
--
-- > initReq <- parseUrl "http://www.example.com/path"
-- > let req = req
-- > { method = "POST"
-- > }
--
-- For more information, please see
-- <http://www.yesodweb.com/book/settings-types>.
data Request m = Request
{ method :: W.Method
-- ^ HTTP request method, eg GET, POST.
Expand Down
2 changes: 1 addition & 1 deletion http-conduit.cabal
@@ -1,5 +1,5 @@
name: http-conduit
version: 1.4.0
version: 1.4.0.1
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit 82e0e77

Please sign in to comment.