mirror of https://github.com/BOINC/boinc.git
- GUI RPC: add <xml> tag to the start of HTTP replies.
svn path=/trunk/boinc/; revision=25059
This commit is contained in:
parent
7acf1632fa
commit
789622e88d
|
@ -536,3 +536,8 @@ David 13 Jan 2012
|
|||
Makefile.am
|
||||
zip/*
|
||||
|
||||
David 13 Jan 2012
|
||||
- GUI RPC: add <xml> tag to the start of HTTP replies.
|
||||
|
||||
client/
|
||||
gui_rpc_server_ops.cpp
|
||||
|
|
|
@ -1369,7 +1369,8 @@ int GUI_RPC_CONN::handle_rpc() {
|
|||
"Server: BOINC client\n"
|
||||
"Connection: close\n"
|
||||
"Content-Type: text/xml; charset=utf-8\n"
|
||||
"Content-Length: %d\n\n",
|
||||
"Content-Length: %d\n\n"
|
||||
"<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n",
|
||||
n
|
||||
);
|
||||
send(sock, buf, strlen(buf), 0);
|
||||
|
|
Loading…
Reference in New Issue