summaryrefslogtreecommitdiff
path: root/responsememblk.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-08-18 15:58:45 +0200
committerthlo <smarttv640@gmail.com>2013-08-18 15:58:45 +0200
commit60fd720d6aba700ccf7c327741be0fd380829931 (patch)
tree3ccde25923d63c0b0cf479f8d5eb64b83dc62b8c /responsememblk.c
parent7786e978d8bd4e80d7e2e9755a6f61c0259094ef (diff)
downloadvdr-plugin-smarttvweb-60fd720d6aba700ccf7c327741be0fd380829931.tar.gz
vdr-plugin-smarttvweb-60fd720d6aba700ccf7c327741be0fd380829931.tar.bz2
Cleanups.
Diffstat (limited to 'responsememblk.c')
-rwxr-xr-xresponsememblk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/responsememblk.c b/responsememblk.c
index 64075bc..6f370e0 100755
--- a/responsememblk.c
+++ b/responsememblk.c
@@ -1163,7 +1163,7 @@ void cResponseMemBlk::sendRecCmds() {
mResponseMessagePos = 0;
mRequest->mConnState = SERVING;
- sendHeaders(200, "OK", NULL, "text/plain", mResponseMessage->size(), -1);
+ sendHeaders(200, "OK", NULL, "application/xml", mResponseMessage->size(), -1);
}
void cResponseMemBlk::receiveExecRecCmdReq() {
@@ -1182,7 +1182,7 @@ void cResponseMemBlk::receiveExecRecCmdReq() {
}
guid =cUrlEncode::doUrlSaveDecode(guid);
if (mRequest->getQueryAttributeValue(&avps, "cmd", cmd_str) != OKAY){
- sendError(400, "Bad Request", NULL, "00? Mandatory cmd attribute not present.");
+ sendError(400, "Bad Request", NULL, "015 Mandatory cmd attribute not present.");
return ;
}
cmdid = atoi(cmd_str.c_str());
@@ -1195,7 +1195,7 @@ void cResponseMemBlk::receiveExecRecCmdReq() {
if ((cmdid <0 ) || ( cmdid > r_cmds->size())) {
*(mLog->log())<< DEBUGPREFIX
<< " ERROR: cmd value out of range." << endl;
- sendError(400, "Bad Request", NULL, "00? cmd value out of range..");
+ sendError(400, "Bad Request", NULL, "016 Command (cmd) value out of range.");
return ;
}
*(mLog->log())<< DEBUGPREFIX