We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee0763 commit 97ad20cCopy full SHA for 97ad20c
servant-client-core/servant-client-core.cabal
@@ -79,7 +79,6 @@ library
79
, base64-bytestring >= 1.0.0.1 && < 1.1
80
, exceptions >= 0.10.0 && < 0.11
81
, free >= 5.1 && < 5.2
82
- , http-api-data >= 0.4 && < 0.4.2
83
, http-media >= 0.7.1.3 && < 0.9
84
, http-types >= 0.12.2 && < 0.13
85
, network-uri >= 2.6.1.0 && < 2.7
servant-client-core/src/Servant/Client/Core/HasClient.hs
@@ -49,16 +49,14 @@ import Servant.API
49
IsSecure, MimeRender (mimeRender),
50
MimeUnrender (mimeUnrender), NoContent (NoContent), QueryFlag,
51
QueryParam', QueryParams, QueryParamForm', Raw, ReflectMethod (..), RemoteHost,
52
- ReqBody', SBoolI, Stream, StreamBody', Summary, ToHttpApiData,
+ ReqBody', SBoolI, Stream, StreamBody', Summary, ToHttpApiData, ToForm (..),
53
ToSourceIO (..), Vault, Verb, NoContentVerb, WithNamedContext,
54
contentType, getHeadersHList, getResponse, toQueryParam,
55
toUrlPiece)
56
import Servant.API.ContentTypes
57
(contentTypes)
58
import Servant.API.Modifiers
59
(FoldRequired, RequiredArgument, foldRequiredArgument)
60
-import Web.FormUrlEncoded
61
- (ToForm (..))
62
63
import Servant.Client.Core.Auth
64
import Servant.Client.Core.BasicAuth
servant-client-core/src/Servant/Client/Core/Request.hs
@@ -53,9 +53,8 @@ import Network.HTTP.Types
(Header, HeaderName, HttpVersion (..), Method, QueryItem,
http11, methodGet)
import Servant.API
- (ToHttpApiData, toEncodedUrlPiece, toHeader, SourceIO)
- (ToForm (..), toListStable)
+ (ToHttpApiData, toEncodedUrlPiece, toHeader, SourceIO,
+ ToForm (..), toListStable)
import Servant.Client.Core.Internal (mediaTypeRnf)
servant-docs/servant-docs.cabal
@@ -62,7 +62,6 @@ library
, base-compat >= 0.10.5 && < 0.12
, case-insensitive >= 1.2.0.11 && < 1.3
, hashable >= 1.2.7.0 && < 1.4
65
66
67
68
, lens >= 4.17 && < 4.19
@@ -101,7 +100,6 @@ test-suite spec
101
100
base
102
, base-compat
103
, aeson
104
- , http-api-data
105
, lens
106
, servant
107
, servant-docs
servant-docs/src/Servant/Docs/Internal.hs
@@ -64,8 +64,6 @@ import GHC.TypeLits
import Servant.API.TypeLevel
- (ToForm(..), urlEncodeAsForm)
69
70
import qualified Data.Universe.Helpers as U
71
servant-docs/test/Servant/DocsSpec.hs
@@ -36,8 +36,6 @@ import Test.Tasty.Golden
36
(goldenVsString)
37
import Test.Tasty.HUnit
38
(Assertion, HasCallStack, assertFailure, testCase, (@?=))
39
40
- (ToForm)
41
42
43
import Servant.Docs.Internal
servant/src/Servant/API.hs
@@ -58,6 +58,9 @@ module Servant.API (
module Web.HttpApiData,
-- | Classes and instances for types that can be converted to and from HTTP API data.
+ -- * ToForm and FromForm
+ module Web.FormUrlEncoded,
+ -- | Classes and instances for working with Forms
-- * Experimental modules
module Servant.API.Experimental.Auth,
@@ -139,3 +142,5 @@ import Servant.Links
139
142
(HasLink (..), IsElem, IsElem', Link, URI (..), safeLink)
140
143
import Web.HttpApiData
141
144
(FromHttpApiData (..), ToHttpApiData (..))
145
+import Web.FormUrlEncoded
146
+ (ToForm (..), urlEncodeAsForm, toListStable)
0 commit comments