...
1- With issues:
2 - Use the search tool before opening a new issue.
3 - Please provide source code and commit sha if you found a bug.
4 - Review existing issues and provide feedback or react to them.
5
6## Description
7
8<!-- Description of a problem -->
9
10## How to reproduce
11
12<!-- The smallest possible code example to show the problem that can be compiled, like -->
13```
14package main
15
16import (
17 "github.com/gin-gonic/gin"
18)
19
20func main() {
21 g := gin.Default()
22 g.GET("/hello/:name", func(c *gin.Context) {
23 c.String(200, "Hello %s", c.Param("name"))
24 })
25 g.Run(":9000")
26}
27```
28
29## Expectations
30
31<!-- Your expectation result of 'curl' command, like -->
32```
33$ curl http://localhost:9000/hello/world
34Hello world
35```
36
37## Actual result
38
39<!-- Actual result showing the problem -->
40```
41$ curl -i http://localhost:9000/hello/world
42<YOUR RESULT>
43```
44
45## Environment
46
47- go version:
48- gin version (or commit ref):
49- operating system:
View as plain text