Compare commits

..

No commits in common. "2dcee45406bbc2a6088b792131a2886f65af350f" and "f881122b483b7409033d6e1669350b1b4b7dee31" have entirely different histories.

1 changed files with 0 additions and 5 deletions

View File

@ -115,11 +115,6 @@ fn (mut d DockerConn) read_response_body(length int) !string {
fn (mut d DockerConn) read_response() !(http.Response, string) {
head := d.read_response_head()!
// 204 means "No Content", so we can assume nothing follows after this
if head.status_code == 204 {
return head, ''
}
if head.header.get(http.CommonHeader.transfer_encoding) or { '' } == 'chunked' {
mut builder := strings.new_builder(1024)
mut body := d.get_chunked_response_reader()