Skip to content

Commit d695fe1

Browse files
authored
Allow should be a string, not a list.
1 parent dd978fc commit d695fe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphql_server/__init__.py

Lines changed: 1 addition & 1 deletion
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)