-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed as not planned
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
Line 628 in dee3efd
var errCannotRewind = errors.New("net/http: cannot rewind body after connection loss") |
I'm having to resort to string matching to identify this error which is not ideal
strings.Contains(err.Error(), "net/http: cannot rewind body after connection loss")
I'd love to just be able to use errors.Is
errors.Is(err, http.ErrCannotRewind)
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.