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
With reference to #310 and page.render() it is observed that page.render() returns a simple string and when used with a CROW_ROUTE's return, it will not properly set the Content-Type header to text/html.
It would probably be worth adding 2 rendering methods, one that returns a string and another that returns a crow::returnable object.
The text was updated successfully, but these errors were encountered:
With reference to #310 and
page.render()
it is observed thatpage.render()
returns a simple string and when used with aCROW_ROUTE
's return, it will not properly set theContent-Type
header totext/html
.It would probably be worth adding 2 rendering methods, one that returns a string and another that returns a
crow::returnable
object.The text was updated successfully, but these errors were encountered: