Skip to content

Commit 9486fef

Browse files
authored
Merge pull request #4 from dfee/patch-1
Allow should be a string, not a list.
2 parents dd978fc + d695fe1 commit 9486fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_server/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def execute_graphql_request(schema, params, allow_only_query=False, **kwargs):
182182
405,
183183
'Can only perform a {} operation from a POST request.'.format(operation_ast.operation),
184184
headers={
185-
'Allow': ['POST'],
185+
'Allow': 'POST',
186186
}
187187
)
188188

0 commit comments

Comments
 (0)