You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by mb...@apache.org on 2003/03/10 05:49:22 UTC
cvs commit: jakarta-commons/httpclient/xdocs methods.xml authentication.xml
mbecke 2003/03/09 20:49:22
Modified: httpclient/xdocs/methods put.xml post.xml get.xml head.xml
httpclient/xdocs methods.xml authentication.xml
Log:
Fixed some minor typos. Reworded a few minor sentences.
Revision Changes Path
1.2 +2 -2 jakarta-commons/httpclient/xdocs/methods/put.xml
Index: put.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/methods/put.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- put.xml 10 Mar 2003 04:07:40 -0000 1.1
+++ put.xml 10 Mar 2003 04:49:22 -0000 1.2
@@ -14,7 +14,7 @@
<p>The PUT method requests that the enclosed entity be stored under the
supplied URL. If the URL refers to an already existing resource, the
enclosed entity <i>should</i> be considered as a modified version of the
- one residing on teh origin server. If the URL does not point to an
+ one residing on the origin server. If the URL does not point to an
existing resource, and that URL is capable of being defined as a new
resource by the requesting user agent, the origin server can create the
resource with that URL.</p>
1.2 +3 -3 jakarta-commons/httpclient/xdocs/methods/post.xml
Index: post.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/methods/post.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- post.xml 10 Mar 2003 04:07:40 -0000 1.1
+++ post.xml 10 Mar 2003 04:49:22 -0000 1.2
@@ -51,8 +51,8 @@
memory which may not be desireable. In this case, passing in an
InputStream would be more appropriate.</p>
- <p>The body of the method can be read using any of the methods in the <a
- href="get.html">GET</a> method.</p>
+ <p>The POST response body can be read using any of the <code>getResponseBody*</code>
+ methods much like the <a href="get.html">GET</a> method.</p>
<source><![CDATA[
PostMethod post = new PostMethod("http://jakarata.apache.org/");
1.2 +5 -5 jakarta-commons/httpclient/xdocs/methods/get.xml
Index: get.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/methods/get.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- get.xml 10 Mar 2003 04:07:40 -0000 1.1
+++ get.xml 10 Mar 2003 04:49:22 -0000 1.2
@@ -11,7 +11,7 @@
<body>
<section name="Introduction">
- <p>The GET method means retrieve whatever information (int hte form of an
+ <p>The GET method retrieves whatever information (in the form of an
entity) is identified by the Request-URI. If the Request-URI refers to a
data-producing process, it is the produced data which shall be returned
as the entity in the response and not the source text of the process,
@@ -57,9 +57,9 @@
<section name="Common Problems">
<p>The most common mistake when using the GET method is failing to read
- the entire response body, even if an error code, redirect or any other
- response status is received. Also be sure to call releaseConnection() on
- the method regardless of the response code received.</p>
+ the entire response body even if an error code, redirect or any other
+ response status is received. As with all methods, one must also be sure to call
+ method.releaseConnection(), regardless of the response code received.</p>
</section>
<section name="RFC Section">
1.2 +2 -2 jakarta-commons/httpclient/xdocs/methods/head.xml
Index: head.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/methods/head.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- head.xml 10 Mar 2003 04:07:40 -0000 1.1
+++ head.xml 10 Mar 2003 04:49:22 -0000 1.2
@@ -24,7 +24,7 @@
<p>When your program is implementing caching, it is important to note
that if the HEAD response indicates that the cached entity differs from
- teh current entity, such as by a change in the Content-Length,
+ the current entity, such as by a change in the Content-Length,
Content-MD5, ETag or Last-Modified, the cache <b>must</b> treat the
cached entry as stale.</p>
</section>
1.2 +2 -2 jakarta-commons/httpclient/xdocs/methods.xml
Index: methods.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/methods.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- methods.xml 10 Mar 2003 04:08:06 -0000 1.1
+++ methods.xml 10 Mar 2003 04:49:22 -0000 1.2
@@ -18,7 +18,7 @@
href="apidocs/index.html">API Reference</a>.</p>
<p>The examples on the following pages are not complete and are only used
- to highlight the important methods that are unique to each method. For
+ to highlight the important features that are unique to each method. For
complete examples, please refer to the <a
href="http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/examples/">sample
code</a>.</p>
1.3 +6 -5 jakarta-commons/httpclient/xdocs/authentication.xml
Index: authentication.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/authentication.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- authentication.xml 10 Mar 2003 04:08:06 -0000 1.2
+++ authentication.xml 10 Mar 2003 04:49:22 -0000 1.3
@@ -137,10 +137,11 @@
</subsection>
</section>
- <section name="Examples">
- <p>There is an example of using authentication available in the
- <a href="http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/examples/">example directory</a> in CVS. The particulary example is the
- <a href="http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/examples/BasicAuthenticationExample.java">BasicAuthenticationExample</a>.</p>
+ <section name="Examples">
+ <p>There is an <a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-commons/httpclient/src/examples/BasicAuthenticatonExample.java?rev=HEAD&content-type=text/plain">example</a>
+ of basic authentication available in the
+ <a href="http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/examples/">example directory</a> in CVS.
+ </p>
</section>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org