* refactor(net): pass request header * feat(proxy): add `Etag` to response header * refactor
This commit is contained in:
@ -233,9 +233,3 @@ func CopyWithBufferN(dst io.Writer, src io.Reader, n int64) (written int64, err
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
type NullWriter struct{}
|
||||
|
||||
func (NullWriter) Write(p []byte) (n int, err error) {
|
||||
return len(p), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user