diff --git a/Network/HTTP/Conduit/Request.hs b/Network/HTTP/Conduit/Request.hs index da51cf0..3e596a7 100644 --- a/Network/HTTP/Conduit/Request.hs +++ b/Network/HTTP/Conduit/Request.hs @@ -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 +-- . data Request m = Request { method :: W.Method -- ^ HTTP request method, eg GET, POST. diff --git a/http-conduit.cabal b/http-conduit.cabal index d68c3df..ccfa9c4 100644 --- a/http-conduit.cabal +++ b/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