[Yanel-dev] Content type of Asynchronous AJAX request
Michael Wechner
michael.wechner at wyona.com
Mon Feb 25 22:14:44 CET 2008
Hi
I am not sure if I understand the following method
/**
* If no request headers have been set, the header "Content-Type"
will be used with a value of "text/plain; charset=utf-8"
*/
protected void initializeHeaders(){
requestBuilder.setHeader("Content-Type",
"application/x-www-form-urlencoded");
}
which is used within
src/core/java/org/wyona/yanel/gwt/client/AsynchronousAgent.java
whereas I don't understand why the content type is set to
application/x-www-form-urlencoded.
Any idea why this content type?
Thanks
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list