Re-export Application.

This commit is contained in:
Julian K. Arni 2016-05-10 15:40:05 +02:00
parent d84604b944
commit 211254512e
3 changed files with 5 additions and 3 deletions

View file

@ -41,8 +41,7 @@ import qualified Network.HTTP.Client as C
import Network.HTTP.Media
import qualified Network.HTTP.Types as HTTP
import Network.Socket
import Network.Wai (Application, Request,
requestHeaders, responseLBS)
import Network.Wai (Request, requestHeaders, responseLBS)
import Network.Wai.Handler.Warp
import System.IO.Unsafe (unsafePerformIO)
import Test.Hspec

View file

@ -95,6 +95,9 @@ module Servant.Server
, err504
, err505
-- * Re-exports
, Application
) where
import Data.Proxy (Proxy)

View file

@ -8,7 +8,7 @@ import Control.Monad (unless)
import Data.Proxy (Proxy(..))
import Data.Text (unpack)
import Network.HTTP.Types (Status (..))
import Network.Wai (Application, responseBuilder)
import Network.Wai (responseBuilder)
import Network.Wai.Internal (Response (ResponseBuilder))
import Test.Hspec
import Test.Hspec.Wai (get, shouldRespondWith, with)