Skip to content

Commit f041672

Browse files
committed
plumbing: transport, http: formatting and style fixes
1 parent 0110949 commit f041672

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎plumbing/transport/http/common.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var safeHeaders = map[string]struct{}{
8585
"Host": {},
8686
"Accept": {},
8787
"Content-Type": {},
88-
"Content-Length": {},
88+
"Content-Length": {},
8989
"Cache-Control": {},
9090
"Git-Protocol": {},
9191
"Transfer-Encoding": {},

‎plumbing/transport/http/proxy_test.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ func setupProxyServer(t testing.TB, handler http.Handler, isTLS, schemaAddr bool
160160

161161
type testProxy struct {
162162
proxiedRequests *int32
163-
username string
164-
password string
163+
username string
164+
password string
165165
}
166166

167167
func newTestProxy(proxiedRequests *int32, username, password string) *testProxy {

0 commit comments

Comments
 (0)