(value string)
| 157 | } |
| 158 | |
| 159 | func (c *Context) writeContentType(value string) { |
| 160 | header := c.response.Header() |
| 161 | if header.Get(HeaderContentType) == "" { |
| 162 | header.Set(HeaderContentType, value) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | // Request returns `*http.Request`. |
| 167 | func (c *Context) Request() *http.Request { |