tris-localserver: fix Content-Type header for /ch endpoint (#21)
Tento commit je obsažen v:
rodič
f4a6690edc
revize
bc76e35b75
@ -83,7 +83,7 @@ func main() {
|
||||
})
|
||||
|
||||
http.HandleFunc("/ch", func(w http.ResponseWriter, r *http.Request) {
|
||||
r.Header.Set("Content-Type", "text/plain")
|
||||
w.Header().Set("Content-Type", "text/plain")
|
||||
fmt.Fprintf(w, "Client Hello packet (%d bytes):\n%s", len(r.TLS.ClientHello), hex.Dump(r.TLS.ClientHello))
|
||||
})
|
||||
|
||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele