@@ -203,6 +203,17 @@ instance (KnownSymbol sym, ToHttpApiData a, HasClient sublayout)
204 where hname = symbolVal (Proxy :: Proxy sym)
204 where hname = symbolVal (Proxy :: Proxy sym)
206+-- | Using a 'HttpVersion' combinator in your API doesn't affect the client
208+instance HasClient sublayout
209+ => HasClient (HttpVersion :> sublayout) where
211+ type Client (HttpVersion :> sublayout) =
214+ clientWithRoute Proxy =
215+ clientWithRoute (Proxy :: Proxy sublayout)
206-- | If you use a 'QueryParam' in one of your endpoints in your API,
217-- | If you use a 'QueryParam' in one of your endpoints in your API,
207-- the corresponding querying function will automatically take
218-- the corresponding querying function will automatically take
208-- an additional argument of the type specified by your 'QueryParam',
219-- an additional argument of the type specified by your 'QueryParam',