mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
@@ -50,15 +50,6 @@ type httpConn struct {
|
||||
Endpoint string
|
||||
}
|
||||
|
||||
// List of success status.
|
||||
var successStatus = []int{
|
||||
http.StatusOK,
|
||||
http.StatusAccepted,
|
||||
http.StatusContinue,
|
||||
http.StatusNoContent,
|
||||
http.StatusPartialContent,
|
||||
}
|
||||
|
||||
// isNetErrorIgnored - is network error ignored.
|
||||
func isNetErrorIgnored(err error) bool {
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user