You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For reproduce this error you simply can run Getting started example.
In current version we must set Content-type for all requests, but in case of GET methods when we produce request from browser Content-type are not added to headers request.
I have research the HTTP Protocol specification and googling should we set Content-type for all requests and TL;DR: Get requests should not have content-type because they do not have request entity (that is, a body)
I suggest to make the Content-type is not required. (At least for GET requests)
For reproduce this error you simply can run Getting started example.
In current version we must set Content-type for all requests, but in case of GET methods when we produce request from browser Content-type are not added to headers request.
I have research the HTTP Protocol specification and googling should we set Content-type for all requests and TL;DR: Get requests should not have content-type because they do not have request entity (that is, a body)
I suggest to make the Content-type is not required. (At least for GET requests)
Repro steps:
HelloWorld
function from browser.Error example:
` Http Functions:
Error reason:
Looks like trouble in
http.csharp.handlebars
file in linestring contentType = req.ContentType.ToLower();
UPD: I can suggest a PR to fix this bug, but I don't have permissions to push.
The text was updated successfully, but these errors were encountered: