Avoid unnecessary conversion (#502)

No need to convert here.
This commit is contained in:
Christian Muehlhaeuser
2019-07-20 16:48:32 +02:00
committed by Matt Silverlock
parent d83b6ffe49
commit 50fbc3e7fb

View File

@@ -1943,7 +1943,7 @@ type TestA301ResponseWriter struct {
}
func (ho *TestA301ResponseWriter) Header() http.Header {
return http.Header(ho.hh)
return ho.hh
}
func (ho *TestA301ResponseWriter) Write(b []byte) (int, error) {