You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by og...@apache.org on 2003/06/19 09:54:33 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods EntityEnclosingMethod.java
oglueck 2003/06/19 00:54:33
Modified: httpclient/src/java/org/apache/commons/httpclient/methods
EntityEnclosingMethod.java
Log:
added doc
Revision Changes Path
1.18 +11 -4 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/EntityEnclosingMethod.java
Index: EntityEnclosingMethod.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/EntityEnclosingMethod.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- EntityEnclosingMethod.java 15 May 2003 18:06:02 -0000 1.17
+++ EntityEnclosingMethod.java 19 Jun 2003 07:54:33 -0000 1.18
@@ -375,6 +375,13 @@
/**
* Sets the request body to be the specified string.
+ * The string will be submitted, using the encoding
+ * specified in the Content-Type request header.<br>
+ * Example: <code>setRequestHeader("Content-type", "text/xml; charset=UTF-8");</code><br>
+ * Would use the UTF-8 encoding.
+ * If no charset is specified, the
+ * {@link org.apache.commons.httpclient.HttpConstants#DEFAULT_CONTENT_CHARSET default}
+ * content encoding is used (ISO-8859-1).
*
* @param body Request body content as a string
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org