You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/client/status.go b/client/status.go
index ecc1525..a371452 100644
--- a/client/status.go+++ b/client/status.go
func (s Status) IsRedirect() bool {
+ // Per RFC 9110 section 15.4.5 a 304 response is terminated by the end of the header section; it cannot contain content or trailers.+ if s.Code == REDIRECTION_NOT_MODIFIED {+ return false+ }
return s.Code >= REDIRECTION_MULTIPLE_CHOICES && s.Code < CLIENT_ERROR_BAD_REQUEST
}
func (s Status) IsError() bool { return s.Code >= CLIENT_ERROR_BAD_REQUEST }
Activity
Impact-I commentedon Apr 6, 2023
Possible Fix:
projectdiscovery/nuclei#3360 (comment)
jimen0 commentedon Apr 6, 2023
Note fixing this in nuclei requires some additional changes in httpx. Refer to the linked comment.