We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea87e97 commit aaeee88Copy full SHA for aaeee88
changelog.d/1571
@@ -5,4 +5,6 @@ description: {
5
UVerb endpoints are now supported by servant-auth-server and can be used under the
6
Auth combinator when writing servers. It is still unsupported by
7
servant-auth-client.
8
+
9
+This PR also brings Headers support in UVerb responses
10
}
servant/src/Servant/API/UVerb.hs
@@ -53,9 +53,6 @@ statusOf = const (statusVal (Proxy :: Proxy (StatusOf a)))
53
instance HasStatus NoContent where
54
type StatusOf NoContent = 204
55
56
-instance HasStatus a => HasStatus (Headers hs a) where
57
- type StatusOf (Headers hs a) = StatusOf a
58
-
59
class HasStatuses (as :: [*]) where
60
type Statuses (as :: [*]) :: [Nat]
61
statuses :: Proxy as -> [Status]
0 commit comments