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
I had this in my 2.0.8 app to set the content type:
beforedocontent_type:jsonend
But after updating to 2.1.0, it returns all requests as text/html.
I see that there's a new setting default_content_type in 2.1 and it's working again after I use that instead of the before filter. But shouldn't the content type be json anyways?
Thanks.
The text was updated successfully, but these errors were encountered:
I had this in my 2.0.8 app to set the content type:
But after updating to 2.1.0, it returns all requests as
text/html
.I see that there's a new setting
default_content_type
in 2.1 and it's working again after I use that instead of the before filter. But shouldn't the content type be json anyways?Thanks.
The text was updated successfully, but these errors were encountered: