fix: OPTIONS not accepting all available media
This commit is contained in:
committed by
Steve Chavez
parent
11a9849152
commit
fad47324c3
@@ -375,8 +375,8 @@ requestMediaTypes conf action path =
|
||||
ActionRead _ -> defaultMediaTypes ++ rawMediaTypes
|
||||
ActionInvoke _ -> invokeMediaTypes
|
||||
ActionInspect _ -> [MTOpenAPI, MTApplicationJSON]
|
||||
ActionInfo -> [MTTextCSV]
|
||||
_ -> defaultMediaTypes
|
||||
ActionInfo -> defaultMediaTypes
|
||||
ActionMutate _ -> defaultMediaTypes
|
||||
where
|
||||
invokeMediaTypes =
|
||||
defaultMediaTypes
|
||||
|
||||
Reference in New Issue
Block a user