mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-18 23:05:49 +08:00
put an empty line before 1396
This commit is contained in:
parent
9056137107
commit
a21c6d1efd
@ -1393,6 +1393,7 @@ r.GET("/test", func(c *gin.Context) {
|
||||
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)
|
||||
```go
|
||||
r.POST("/test", func(c *gin.Context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user