projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for 204 (no content)
[project/uclient.git]
/
uclient-http.c
diff --git
a/uclient-http.c
b/uclient-http.c
index
f16d29d
..
7a54cce
100644
(file)
--- a/
uclient-http.c
+++ b/
uclient-http.c
@@
-518,7
+518,7
@@
static void uclient_http_headers_complete(struct uclient_http *uh)
if (uh->uc.cb->header_done)
uh->uc.cb->header_done(&uh->uc);
- if (uh->req_type == REQ_HEAD) {
+ if (uh->req_type == REQ_HEAD
|| uh->uc.status_code == 204
) {
uh->eof = true;
uclient_notify_eof(uh);
}