Browse Source

fix coding style

Shelikhoo 4 years ago
parent
commit
0fbd8a1fd1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      transport/internet/http/hub.go

+ 0 - 2
transport/internet/http/hub.go

@@ -72,14 +72,12 @@ func (l *Listener) ServeHTTP(writer http.ResponseWriter, request *http.Request)
 
 	writer.Header().Set("Cache-Control", "no-store")
 
-
 	for _, httpHeader := range l.config.Header {
 		for _, httpHeaderValue := range httpHeader.Value {
 			writer.Header().Set(httpHeader.Name, httpHeaderValue)
 		}
 	}
 
-
 	writer.WriteHeader(200)
 	if f, ok := writer.(http.Flusher); ok {
 		f.Flush()