Pull request #21: updated docs

This commit is contained in:
Aliaksandr Valialkin
2015-12-20 15:51:13 +02:00
parent 07b8b8b873
commit 5379f55d86
+2
View File
@@ -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).
//