HTTPCLIENT-1027 Some typos in the English Manual
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1041058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1c80c6a73
commit
484266e1e3
|
@ -26,7 +26,7 @@
|
|||
<section>
|
||||
<title>Custom client connections</title>
|
||||
<para>In certain situations it may be necessary to customize the way HTTP messages get
|
||||
transmitted across the wire beyond what is possible possible using HTTP parameters in
|
||||
transmitted across the wire beyond what is possible using HTTP parameters in
|
||||
order to be able to deal non-standard, non-compliant behaviours. For instance, for web
|
||||
crawlers it may be necessary to force HttpClient into accepting malformed response heads
|
||||
in order to salvage the content of the messages. </para>
|
||||
|
|
|
@ -559,7 +559,7 @@ try {
|
|||
the pool rather than creating a brand new connection.</para>
|
||||
<para><classname>ThreadSafeClientConnManager</classname> maintains a maximum limit of
|
||||
connection on a per route basis and in total. Per default this implementation will
|
||||
create no more than than 2 concurrent connections per given route and no more 20
|
||||
create no more than 2 concurrent connections per given route and no more 20
|
||||
connections in total. For many real-world applications these limits may prove too
|
||||
constraining, especially if they use HTTP as a transport protocol for their
|
||||
services. Connection limits, however, can be adjusted using HTTP parameters.</para>
|
||||
|
|
|
@ -98,7 +98,7 @@ httpclient.getConnectionManager().shutdown();
|
|||
<title>'http.protocol.handle-redirects':</title>
|
||||
<para>defines whether redirects should be handled automatically. This parameter
|
||||
expects a value of type <classname>java.lang.Boolean</classname>. If this
|
||||
parameter is not HttpClient will handle redirects automatically.</para>
|
||||
parameter is not set HttpClient will handle redirects automatically.</para>
|
||||
</formalpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<title>HTTP cookies</title>
|
||||
<para>Cookie is a token or short packet of state information that the HTTP agent and the
|
||||
target server can exchange to maintain a session. Netscape engineers used to refer to it
|
||||
as as a "magic cookie" and the name stuck.</para>
|
||||
as a "magic cookie" and the name stuck.</para>
|
||||
<para>HttpClient uses <interfacename>Cookie</interfacename> interface to represent an
|
||||
abstract cookie token. In its simples form an HTTP cookie is merely a name / value pair.
|
||||
Usually an HTTP cookie also contains a number of attributes such as version, a domain
|
||||
|
|
Loading…
Reference in New Issue