Oleg Kalnichevski
91250b2a89
Reverted change to the public const value
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1339141 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 12:41:45 +00:00
Oleg Kalnichevski
ae4ebcc630
Added missing AL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1339140 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 12:41:02 +00:00
Oleg Kalnichevski
2e2f6c2e04
HTTPCLIENT-1191: PATCH HTTP method
...
Contributed by Alin Vasile <alinachegalati at yahoo dot com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1339134 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 12:21:24 +00:00
Oleg Kalnichevski
7d4aabd203
Updated project web site for HttpClient 4.2 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337909 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 15:05:28 +00:00
Oleg Kalnichevski
3207392281
Updated release notes for HttpClient 4.2
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337908 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 15:05:12 +00:00
Oleg Kalnichevski
c850967c01
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337904 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 14:57:27 +00:00
Oleg Kalnichevski
561a7d7405
Reverted to using basic connection manager per default
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337903 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 14:57:07 +00:00
Oleg Kalnichevski
7a207ae475
Removed code deprecated in release 4.0
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337893 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 14:11:39 +00:00
Oleg Kalnichevski
1b063abfa9
HTTPCLIENT-1187: If a revalidation response is deemed too old CachingHttpClient fails to consume its content resulting in a connection leak
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1335726 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 19:54:27 +00:00
Oleg Kalnichevski
a8d2e5e5fa
Added release version to deprecation annotations; removed references to deprecated methods / classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1335088 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 16:06:11 +00:00
Oleg Kalnichevski
aa412a29b9
Deprecated DefaultResponseParser in favor of DefaultHttpResponseParser
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1334646 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 14:41:38 +00:00
Oleg Kalnichevski
bfe3b7201f
Added getters to URIBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1334634 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 14:17:01 +00:00
Oleg Kalnichevski
6920b38823
UrlEncodedFormEntity constructors added in 4.2 no longer throw UnsupportedEncodingException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1334630 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 13:58:20 +00:00
Oleg Kalnichevski
93296a4779
Upgraded to HttpCore 4.2; Fixed compile errors caused by API breakage (HTTPCLIENT-1189)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1334436 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 15:53:45 +00:00
Oleg Kalnichevski
63d06f06cd
HTTPCLIENT-1186: State of newly created connections in the connection pool is not always correctly updated potentially allowing those connections to be leased to users with a different security context
...
Contributed by Ralf Pöhlmann <rpn at methodpark.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1329811 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 15:55:07 +00:00
Oleg Kalnichevski
9366926296
Renamed CompressionDecorator to DecompressingHttpClient
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311967 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 20:19:20 +00:00
Oleg Kalnichevski
26241e51e2
HTTPCLIENT-1180: Fixed NPE in ClientGZipContentCompression sample
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311952 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:36:49 +00:00
Oleg Kalnichevski
a9c95e057f
HTTPCLIENT-1182: constructor to org.apache.http.conn.ssl.SSLSocketFactory to allow for directly wrapping a javax.net.ssl.SSLSocketFactory socketfactory
...
Contributed by Mark Claassen <mclaassen at ocie.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311941 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:22:40 +00:00
Oleg Kalnichevski
db9f011a83
SSLSocketFactory to use javax.net.ssl.SSLSocketFactory#createSocket() instead of new Socket()
...
Contributed by Mark Claassen <mac01at donnell.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311409 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:10:18 +00:00
Oleg Kalnichevski
0fb328d01c
HTTPCLIENT-1179: Upgraded Commons Codec dependency to version 1.6
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311383 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:27:03 +00:00
Oleg Kalnichevski
be6347aef0
HTTPCLIENT-1177: always remove fragments from request URIs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311382 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:18:35 +00:00
Oleg Kalnichevski
0cea739a38
Removed references to deprecated API
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1311381 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:17:51 +00:00
Oleg Kalnichevski
d544026bee
BasicManagedEntity#streamClosed no longer propagates SocketException if the underlying connection has been shut down
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1307766 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 11:16:45 +00:00
Oleg Kalnichevski
218edab9fd
Un-deprecated #parse method that takes Scanner as a parameter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1302482 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 14:47:44 +00:00
Oleg Kalnichevski
5e0e2efe13
Optimized URLEncodedUtils#parse(HttpEntity) method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1302360 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 10:33:16 +00:00
Jonathan Moore
3f99045e4f
HTTPCLIENT-1164: If we uncompress an entity on-the-fly, we should
...
also remove its Content-MD5 header, as it will likely no longer be
accurate, and an upstream consumer may incorrectly reject the
response on that basis. This way the decorator preserves semantic
transparency.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1301572 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 15:01:27 +00:00
Jonathan Moore
54c7e992fb
HTTPCLIENT-1164: Implemented a new CompressionDecorator aimed at replacing
...
the ContentEncodingHttpClient. This reuses the same request/response
interceptors with some minor additions to make the resulting response
semantically consistent (i.e. if a response is uncompressed, we mark the
entity as having an unknown length and remove the Content-Length header
before passing the response upstream). This allows the CompressionDecorator
and CachingHttpClient to be wired around a DefaultHttpClient in either order
and still get cache hits, depending on whether you want to cache compressed
or uncompressed bodies.
Minor change to ResponseContentEncoding to set a context variable that the
uncompression was applied. Only other change was to deprecate the
ContentEncodingHttpClient.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1301090 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 17:02:07 +00:00
Oleg Kalnichevski
cef44fa283
Better SSL initialization for fluent Executor
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1299041 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 20:42:32 +00:00
Oleg Kalnichevski
a5ba13fbd7
HTTPCLIENT-1168: updated tutorial to describe recommended application of HttpContext in multi-threaded execution
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1296623 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 13:32:12 +00:00
Oleg Kalnichevski
a32899e446
ClientPNames.VIRTUAL_HOST has no effect if set at the client level
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1296612 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 12:28:59 +00:00
Oleg Kalnichevski
b90f31138c
Fixed broken test case
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1294612 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 12:16:20 +00:00
Oleg Kalnichevski
3d2b0023fe
It is legal for AuthScheme to be null
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1294348 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 21:44:50 +00:00
Oleg Kalnichevski
647e4dc314
HTTPCLIENT-1166: more tolerant parsing logic for malformed uris with invalid authority part
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1244105 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:12:02 +00:00
Oleg Kalnichevski
d87d45a618
HTTPCLIENT-1166: added more tests for URIUtils#extractHost
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1243989 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:24:18 +00:00
Oleg Kalnichevski
fdeb405065
Added option to create fluent Executor on top of an arbitrary HttpClient instance
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1243662 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 19:20:26 +00:00
Oleg Kalnichevski
eac4ae43a7
Fixed problem with the system SSL context initialization (seems to affect Windows only)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1243661 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 19:19:35 +00:00
Oleg Kalnichevski
d969fe8774
HTTPCLIENT-1162: do not override 'Accept-Encoding' header if already present
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1242782 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:14:30 +00:00
Oleg Kalnichevski
747593abb7
Upgraded project version to 4.2-beta2-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1242454 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 18:40:08 +00:00
Sebastian Bazley
ca66db5ade
Remove svn:executable prop
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1241167 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 20:40:12 +00:00
Oleg Kalnichevski
e7ab117ea5
Added missing ASL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240777 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 18:17:02 +00:00
Oleg Kalnichevski
5e01ff0a88
Fixed clirr report config
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240776 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 18:16:28 +00:00
Oleg Kalnichevski
5e95538a08
Updated HttpClient 4.2-beta1 release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240775 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 18:16:15 +00:00
Oleg Kalnichevski
68b0243fdb
Updated web site for HttpClient 4.2-beta1 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 18:15:58 +00:00
Oleg Kalnichevski
648e5ab9be
Added missing ASL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240723 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 13:18:38 +00:00
Oleg Kalnichevski
5e3626f656
Updated OSGi package
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240722 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 13:18:18 +00:00
Oleg Kalnichevski
39117086b3
HTTPCLIENT-1160: Deprecated LayeredSchemeSocketFactory in favor of SchemeLayeredSocketFactory whose #createLayeredSocket() method takes HttpParams as an additional parameter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240721 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 13:18:02 +00:00
Oleg Kalnichevski
2737e5f066
Updated HttpClient tutorial with 4.2 API changes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1240534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 16:30:30 +00:00
Oleg Kalnichevski
10f6da691e
Moved Memcached specific interfaces from the public API space to the impl package (will also make maintenace of OSGi metadata easier)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1239803 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 20:17:10 +00:00
Oleg Kalnichevski
8265a355e7
Fixed javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1239801 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 20:15:11 +00:00
Oleg Kalnichevski
aab1b368d7
Added facility to execute requests asynchronously using fluent HC API
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1239732 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 17:21:56 +00:00