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
Here is a suggestion, but I think we should implement a response function that returns HTML, and I think it would be nice if there was something to easily change the response header.
And should add an example to return an HTML response
The text was updated successfully, but these errors were encountered:
Question
How do I implement it to return an HTML response?
I checked about response, but "content-type: text / html"
There is no applicable place in. Also, there is no processing to return HTML in example.
https://github.com/rustasync/tide/blob/7e87e4e0699a3fff4453c8a25d3f8f5fa186fdbb/src/response.rs
However, I think there are many such use cases.
Here is a suggestion, but I think we should implement a response function that returns HTML, and I think it would be nice if there was something to easily change the response header.
And should add an example to return an HTML response
The text was updated successfully, but these errors were encountered: