projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d1a9c
)
uclient-http: end custom header lines with CRLF
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 Apr 2015 21:04:32 +0000
(23:04 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 Apr 2015 21:04:32 +0000
(23:04 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-http.c
patch
|
blob
|
history
diff --git
a/uclient-http.c
b/uclient-http.c
index 7e930d7e5ed019a66b8dbf901aab685b0f720d7d..d96094d1b1430ba30f4885785d9056e1f5eec561 100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-547,7
+547,7
@@
uclient_http_send_headers(struct uclient_http *uh)
url->location, url->host);
blobmsg_for_each_attr(cur, uh->headers.head, rem)
- ustream_printf(uh->us, "%s: %s\n", blobmsg_name(cur), (char *) blobmsg_data(cur));
+ ustream_printf(uh->us, "%s: %s\
r\
n", blobmsg_name(cur), (char *) blobmsg_data(cur));
if (uh->req_type == REQ_POST || uh->req_type == REQ_PUT)
ustream_printf(uh->us, "Transfer-Encoding: chunked\r\n");