diff options
Diffstat (limited to 'http/response.go')
-rw-r--r-- | http/response.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/http/response.go b/http/response.go index 7213be7..d9e9db6 100644 --- a/http/response.go +++ b/http/response.go @@ -13,12 +13,13 @@ import ( // Response wraps a server response. type Response struct { - Body io.Reader - StatusCode int - EffectiveURL string - LastModified string - ETag string - ContentType string + Body io.Reader + StatusCode int + EffectiveURL string + LastModified string + ETag string + ContentType string + ContentLength int64 } // HasServerFailure returns true if the status code represents a failure. |