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
In my environment we are behind a corporate proxy and have to pull Jars through a cache service (think Artifactory or Nexus). This service returns data using chunked encoding and therefore doesn't set the Content-Length header.
In my environment we are behind a corporate proxy and have to pull Jars through a cache service (think Artifactory or Nexus). This service returns data using chunked encoding and therefore doesn't set the
Content-Length
header.This library depends on ContentLength being set. If not set, Go sets it to
-1
which causes thezip.NewReader
call to fail instantly.It should be easily fixable by simply using
len(bodyBytes)
whencontentLength < 0
. I will open an MR alongside this issue.The text was updated successfully, but these errors were encountered: