fix xnet.Pipe

This commit is contained in:
ginuerzh
2025-08-01 23:00:50 +08:00
parent a5309eee97
commit db21de831a
22 changed files with 122 additions and 51 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (r *httpRecorder) Record(ctx context.Context, b []byte, opts ...recorder.Re
}
if r.header != nil {
req.Header = r.header
req.Header = r.header.Clone()
}
if req.Header.Get("Content-Type") == "" {