*mizu.Ctx to send responses.
You can return text, JSON, HTML, files, or streams easily without working directly with http.ResponseWriter.
Set status codes
You can set a status code before writing the response body.0 as the status code, Mizu uses the one already set.
You can check it anytime.
Send text
Send a plain text response.Send JSON
Send structured data as JSON.application/json; charset=utf-8.
If you pass 0, Mizu keeps the current status code.
Send HTML
Send HTML content.Content-Type: text/html; charset=utf-8.
Work with headers
You can set or check headers directly.Redirect
Redirect the client to another page.0, the default is 302 Found.