mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 13:02:33 +02:00
fix feature not supported errors
This commit is contained in:
parent
5dd2ea776a
commit
816166a30a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue