- GUI RPC: add <xml> tag to the start of HTTP replies.

svn path=/trunk/boinc/; revision=25059
This commit is contained in:
David Anderson 2012-01-14 05:56:32 +00:00
parent 7acf1632fa
commit 789622e88d
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);