Mimic iTunes and reply 204 No Content to playqueue-edit&add

This commit is contained in:
ejurgensen 2014-02-13 15:46:24 +01:00
parent 07702746df
commit 1ec1528f3b

View File

@ -1391,11 +1391,8 @@ dacp_reply_playqueueedit_add(struct evhttp_request *req, struct evbuffer *evbuf,
return;
}
dmap_add_container(evbuf, "cacr", 24); /* 8 + len */
dmap_add_int(evbuf, "mstt", 200); /* 12 */
dmap_add_int(evbuf, "miid", ps->id); /* 12 */
httpd_send_reply(req, HTTP_OK, "OK", evbuf);
/* 204 No Content is the canonical reply */
evhttp_send_reply(req, HTTP_NOCONTENT, "No Content", evbuf);
}
static void