mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:18:31 +02:00
fix feature not supported errors
This commit is contained in:
@@ -207,6 +207,7 @@ func CopyClose(dst *ContextWriter, src *ContextReader) (err error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, http.ErrNotSupported) {
|
if errors.Is(err, http.ErrNotSupported) {
|
||||||
canFlush = false
|
canFlush = false
|
||||||
|
err = nil
|
||||||
} else {
|
} else {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user