I use simple client on golang
package main
import (
"fmt"
"net/http"
)
func main() {
_, err := http.Get("http://localhost:8080/health")
fmt.Println(err)
}
and simple http server on python https://gist.github.com/huyng/814831
but I got an error
Get "http://localhost:8080/health": net/http: HTTP/1.x transport connection broken: unexpected EOF
What is wrong with my client or server?