Skip to content

Commit

Permalink
Pull request valyala#21: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
valyala committed Dec 20, 2015
1 parent 07b8b8b commit 5379f55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
//
Expand All @@ -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).
//
Expand Down

0 comments on commit 5379f55

Please sign in to comment.