title: cannot get request header
body: <p>I tried to print the request header using the echo framework, but it seems the echo framework does not load the header into the context.request.Header fields. Is this a bug for the echo framework?</p>
  <p>Here is the main function, and context.Request() is a type of *http.Request,</p>
  <pre><code>func main() {
      server := echo.New()
  
      server.GET(&quot;/&quot;, func(context echo.Context) error {
  
          for key, values := range context.Request().Header {
              fmt.Println(key)
              for value := range values {
                  fmt.Println(value)
              }
          }
          return nil
      })
  
      server.Logger.Fatal(server.Start(&quot;:12312&quot;))
  }
  </code></pre>
  <p>I use curl <code>curl -vvv &quot;http://127.0.0.1:12312/&quot;</code> to test the server, but the server only print</p>
  <pre><code>User-Agent
  0
  Accept
  0
  </code></pre>
  <p>but actually, the curl gives the following as header info</p>
  <pre><code>&gt; Host: 127.0.0.1:12312
  &gt; User-Agent: curl/7.64.1
  &gt; Accept: */*
  </code></pre>