From 5379f55d863fb130cfe2e468bfd14fd1ed32eebd Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 20 Dec 2015 15:51:13 +0200 Subject: [PATCH] Pull request #21: updated docs --- server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.go b/server.go index dfd5f20..20058df 100644 --- a/server.go +++ b/server.go @@ -612,6 +612,7 @@ func (ctx *RequestCtx) SuccessString(contentType, body string) { // * StatusMovedPermanently (301) // * StatusFound (302) // * StatusSeeOther (303) +// * StatusTemporaryRedirect (307) // // All other statusCode values are replaced by StatusFound (302). // @@ -631,6 +632,7 @@ func (ctx *RequestCtx) Redirect(uri string, statusCode int) { // * StatusMovedPermanently (301) // * StatusFound (302) // * StatusSeeOther (303) +// * StatusTemporaryRedirect (307) // // All other statusCode values are replaced by StatusFound (302). //