HTMLBlob sends an HTTP blob response with status code.
(code int, b []byte)
| 517 | |
| 518 | // HTMLBlob sends an HTTP blob response with status code. |
| 519 | func (c *Context) HTMLBlob(code int, b []byte) (err error) { |
| 520 | return c.Blob(code, MIMETextHTMLCharsetUTF8, b) |
| 521 | } |
| 522 | |
| 523 | // String sends a string response with status code. |
| 524 | func (c *Context) String(code int, s string) (err error) { |