put an empty line before 1396

This commit is contained in:
Miles 2020-05-24 10:39:25 +08:00 committed by GitHub
parent 9056137107
commit a21c6d1efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1393,6 +1393,7 @@ r.GET("/test", func(c *gin.Context) {
c.Redirect(http.StatusMovedPermanently, "http://www.google.com/") c.Redirect(http.StatusMovedPermanently, "http://www.google.com/")
}) })
``` ```
Issuing a HTTP redirect from POST. Refer to issue: [#444](https://github.com/gin-gonic/gin/issues/444) Issuing a HTTP redirect from POST. Refer to issue: [#444](https://github.com/gin-gonic/gin/issues/444)
```go ```go
r.POST("/test", func(c *gin.Context) { r.POST("/test", func(c *gin.Context) {