@@ -168,6 +168,7 @@ type FailApi =
168168 "get" :> Raw
169169 :<|> "capture" :> Capture "name" String :> Raw
170170 :<|> "body" :> Raw
171+ :<|> "headers" :> Raw
171172failApi :: Proxy FailApi
172173failApi = Proxy
173174
@@ -176,6 +177,7 @@ failServer = serve failApi (
176177 (Tagged $ \ _request respond -> respond $ Wai.responseLBS HTTP.ok200 [] "")
177178 :<|> (\ _capture -> Tagged $ \_request respond -> respond $ Wai.responseLBS HTTP.ok200 [("content-type", "application/json")] "")
178179 :<|> (Tagged $ \_request respond -> respond $ Wai.responseLBS HTTP.ok200 [("content-type", "fooooo")] "")
180+ :<|> (Tagged $ \_request respond -> respond $ Wai.responseLBS HTTP.ok200 [("content-type", "application/x-www-form-urlencoded"), ("X-Example1", "1"), ("X-Example2", "foo")] "")
179181 )
180182
181183-- * basic auth stuff