summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/xhtml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-10-30 16:19:07 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-10-30 16:19:07 (GMT)
commita5ae3c459e098a904ee0092cffab3ec555161cdf (patch)
tree7e15569f0218a024b5ea3436d7fb966b63aed4d2 /src/uscxml/plugins/invoker/xhtml
parent3e3c9ff5c1d0f2432283d3380a3410406f84be26 (diff)
downloaduscxml-a5ae3c459e098a904ee0092cffab3ec555161cdf.zip
uscxml-a5ae3c459e098a904ee0092cffab3ec555161cdf.tar.gz
uscxml-a5ae3c459e098a904ee0092cffab3ec555161cdf.tar.bz2
Process application/xml in http requests and try to fix layout of README.md
Diffstat (limited to 'src/uscxml/plugins/invoker/xhtml')
-rw-r--r--src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp b/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
index 13c3e40..04cb143 100644
--- a/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
+++ b/src/uscxml/plugins/invoker/xhtml/XHTMLInvoker.cpp
@@ -199,7 +199,7 @@ void XHTMLInvoker::reply(const SendRequest& req, const HTTPServer::Request& long
reply.headers["Content-Type"] = "application/json";
} else if (req.content.length() > 0) {
reply.content = req.content;
- reply.headers["Content-Type"] = "application/text";
+ reply.headers["Content-Type"] = "text/plain";
}
if (req.params.find("Content-Type") != req.params.end())