git.iko.soy/typeable/servant
on master help sign in
tweaks
66039fdAlp Mestanogullari
doc/cookbook/using-free-client/UsingFreeClient.lhs+3−3
@@ -118,7 +118,7 @@ and `BaseUrl`:
118 mgr <- HTTP.newManager HTTP.defaultManagerSettings
118 mgr <- HTTP.newManager HTTP.defaultManagerSettings
119```
119```
120
120
121−Now we can use `servant-client` internals to convert servant's `Request`
121+Now we can use `servant-client`'s internals to convert servant's `Request`
122to http-client's `Request`, and we can inspect it:
122to http-client's `Request`, and we can inspect it:
123
123
124```haskell
124```haskell
@@ -126,8 +126,8 @@ to http-client's `Request`, and we can inspect it:
126 putStrLn $ "Making request: " ++ show req'
126 putStrLn $ "Making request: " ++ show req'
127```
127```
128
128
129−`servant-client` does a bit more than `httpLbs`, but that's enough for us.
129+`servant-client`'s request does a little more, but this is good enough for
130−We get back a http-client `Response` which we can also inspect
130+our demo. We get back an http-client `Response` which we can also inspect.
131
131
132```haskell
132```haskell
133 res' <- HTTP.httpLbs req' mgr
133 res' <- HTTP.httpLbs req' mgr