Compare commits
1 Commits
v0.1.22
...
v0.2.0-rc.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
056e55abbb |
@@ -80,7 +80,7 @@ func ReadResponse(r io.ReadCloser) (*Response, error) {
|
||||
if !ok {
|
||||
return nil, ErrInvalidResponse
|
||||
}
|
||||
if len(meta) == 0 || len(meta) > 1024 {
|
||||
if len(meta) == 0 {
|
||||
return nil, ErrInvalidResponse
|
||||
}
|
||||
resp.Meta = string(meta)
|
||||
|
||||
Reference in New Issue
Block a user