Merge pull request #505 from haskell-servant/jkarni/reexport-application
Re-export Application.
This commit is contained in:
commit
ea36656dcd
3 changed files with 5 additions and 3 deletions
|
@ -45,8 +45,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
|
||||
|
|
|
@ -95,6 +95,9 @@ module Servant.Server
|
|||
, err504
|
||||
, err505
|
||||
|
||||
-- * Re-exports
|
||||
, Application
|
||||
|
||||
) where
|
||||
|
||||
import Data.Proxy (Proxy)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue