aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index bacf4397..8645a411 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -187,7 +187,8 @@ Dstr *Http_get_content_type(const DilloUrl *url)
if (eol)
dStr_append_l(dstr, start, eol - start);
} else {
- /* If there are zero parts, should a boundary be specified anyway? */
+ /* Zero parts; arbitrary boundary */
+ dStr_append_c(dstr, '0');
}
dStr_append_c(dstr,'"');
} else {