NotModified resets response and sets '304 Not Modified' response status code.
()
| 1574 | |
| 1575 | // NotModified resets response and sets '304 Not Modified' response status code. |
| 1576 | func (ctx *RequestCtx) NotModified() { |
| 1577 | ctx.Response.Reset() |
| 1578 | ctx.SetStatusCode(StatusNotModified) |
| 1579 | } |
| 1580 | |
| 1581 | // NotFound resets response and sets '404 Not Found' response status code. |
| 1582 | func (ctx *RequestCtx) NotFound() { |
no test coverage detected