mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 21:45:57 +00:00
fastfix err on nil https://github.com/kataras/iris/issues/565
Former-commit-id: c8297437595e89aaa9504b3323903e4f70f80726
This commit is contained in:
@@ -244,6 +244,7 @@ func (w *responseWriter) Push(target string, opts *http.PushOptions) error {
|
||||
if err != nil && err.Error() == http.ErrNotSupported.ErrorString {
|
||||
return ErrPushNotSupported
|
||||
}
|
||||
return err
|
||||
}
|
||||
return ErrPushNotSupported
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user