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 24419f0 commit 019dad1Copy full SHA for 019dad1
src/Ui.Playground/Internal/PlaygroundPageModel.cs
@@ -27,7 +27,16 @@ public string Render()
27
var headers = new Dictionary<string, object>
28
{
29
["Accept"] = "application/json",
30
- ["Content-Type"] = "application/json",
+ // TODO: investigate, fails in Chrome
31
+ // {
32
+ // "error": "Response not successful: Received status code 400"
33
+ // }
34
+ //
35
+ // MediaTypeHeaderValue.TryParse(httpRequest.ContentType, out var mediaTypeHeader) from GraphQLHttpMiddleware
36
+ // returns false because of
37
+ // content-type: application/json, application/json
38
+
39
+ //["Content-Type"] = "application/json",
40
};
41
42
if (_options.Headers?.Count > 0)
0 commit comments