This commit is contained in:
parent
ea8e49d55f
commit
0743085bac
1 changed files with 2 additions and 0 deletions
2
docker.v
2
docker.v
|
|
@ -81,6 +81,8 @@ fn (mut d DockerConn) read_response_body() ! {
|
|||
content_length := d.head.header.get(.content_length)!.int()
|
||||
|
||||
if content_length == 0 {
|
||||
d.body = ''
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue