builtin-apply.c: fix the --- and +++ header filename consistency check
[gitweb.git] / remote-curl.c
index a331bae6c8e95042dc2d136fdc1ef6b3d4463c53..8f169ddca0fd465b332a6044e0a05a628fa7b825 100644 (file)
@@ -480,7 +480,7 @@ static int rpc_service(struct rpc_state *rpc, struct discovery *heads)
        strbuf_addf(&buf, "Content-Type: application/x-%s-request", svc);
        rpc->hdr_content_type = strbuf_detach(&buf, NULL);
 
-       strbuf_addf(&buf, "Accept: application/x-%s-response", svc);
+       strbuf_addf(&buf, "Accept: application/x-%s-result", svc);
        rpc->hdr_accept = strbuf_detach(&buf, NULL);
 
        while (!err) {