Jonathan Moore
38c7647050
HTTPCLIENT-1370: Response to non-GET requests should never be cached with the default
...
ResponseCachingPolicy
Contributed by James Leigh <james at 3roundstones dot com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512552 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 02:06:48 +00:00
Jonathan Moore
0364f0156b
HTTPCLIENT-1373: OPTIONS and TRACE should not invalidate cache
...
Contributed by James Leigh <james at 3roundstones dot com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512441 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 18:50:43 +00:00
Oleg Kalnichevski
6b0fdc74cc
HTTPCLIENT-1383: HttpClient enters an infinite loop during NTLM authentication if the opposite endpoint keeps responding with a type 2 NTLM response after type 3 MTLM message has already been sent by the client
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:12:43 +00:00
Karl Wright
f596896b32
Add RFC6532 multipart mode, and supporting tests and classes. Finishes HTTPCLIENT-1372.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495189 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 21:09:23 +00:00
Oleg Kalnichevski
2e72fffacf
HTTPCLIENT-1377: User principal for non-NTLM authentication is incorrectly generated when using user credentials are specified as NTCredentials
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494747 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:39:44 +00:00
Oleg Kalnichevski
27b57bf561
Updated HttpClient 4.3-beta2 release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490993 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 14:36:12 +00:00
Gary D. Gregory
aa09b30167
[HTTPCLIENT-1366] org.apache.http.client.utils.URLEncodedUtils should parse the semicolon as a query parameter separator. Contributed by Gary Gregory <ggregory at apache.org>
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490331 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:00:05 +00:00
Gary D. Gregory
52ddef91fa
[HTTPCLIENT-1365] NPE when ManagedHttpClientConnectionFactory.create(ConnectionConfig) is called with null. Contributed by Gary Gregory <ggregory at apache.org>
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490299 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:31:08 +00:00
Gary D. Gregory
531ac65cc9
Fix BETA label from "1" to "2".
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490289 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 13:59:41 +00:00
Oleg Kalnichevski
e34e868ddc
HTTPCLIENT-1362: better error messages for connect timed out and connection refused exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1488966 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 11:52:17 +00:00
Karl Wright
f0f2c89ffb
Fix for HTTPCLIENT-1360. Separate out DeflateInputStream class from DeflateEntity.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487630 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:24:37 +00:00
Oleg Kalnichevski
b8c0487c91
HTTPCLIENT-1359: repeated requests using the same context fail if they redirect
...
Contributed by James Leigh <james at 3roundstones.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487463 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 12:45:31 +00:00
Oleg Kalnichevski
eeaec64f5c
HTTPCLIENT-1351: Added utility method to resolve final location from original request, target host and a list of redirects
...
Contributed by James Leigh <james at 3roundstones.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487413 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:04:54 +00:00
Oleg Kalnichevski
6a58c84b03
HTTPCLIENT-1354: do not quote algorithm parameter in DIGEST auth response
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1485210 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:49:31 +00:00
Oleg Kalnichevski
a679b4f4ec
HTTPCLIENT-1351: Preserve last request URI in the execution context)
...
Contributed by James Leigh <james at 3roundstones.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483848 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:13:55 +00:00
Oleg Kalnichevski
29ffce391c
HTTPCLIENT-1351: Preserve last request URI fragment in the execution context
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483736 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 11:01:54 +00:00
Oleg Kalnichevski
013d53a64f
HTTPCLIENT-1344: Userinfo credentials in URI should not default to preemptive BASIC authentication
...
HTTPCLIENT-1345: Useinfo credentials ignored in redirect location header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:15:51 +00:00
Oleg Kalnichevski
600c19f5c5
HTTPCLIENT-1294: HttpClient to rewrite host name of the redirect location URI in order to avoid circular redirect exception due to host name case mismatch.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483267 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:13:11 +00:00
Karl Wright
0ba38201ad
Fix for HTTPCLIENT-1264.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1479699 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 22:18:21 +00:00
Oleg Kalnichevski
e71b14d28c
HTTPCLIENT-1349: SSLSocketFactory incorrectly identifies key passed with keystore as the keystore password
...
Contributed by David Graff <djgraff209 at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478903 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:34:49 +00:00
Oleg Kalnichevski
53e3c07805
HTTPCLIENT-1346: Ensure propagation of SSL handshake exceptions
...
Contributed by Pasi Eronen <pe at iki.fi>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1471292 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 08:42:29 +00:00
Oleg Kalnichevski
228e85deb7
HTTPCLIENT-1343: SSLSocketFactory optional parameters for supported SSL protocols and cipher suites
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469809 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 12:46:22 +00:00
Oleg Kalnichevski
edeee62f8d
HTTPCLIENT-1238: Contribute Bundle Activator And Central Proxy Configuration
...
Contributed by Simone Tripodi <simonetripodi at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469247 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 09:45:19 +00:00
Oleg Kalnichevski
68243b227f
HTTPCLIENT-1341] DeflateDecompressingEntity does not call Inflater#end
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469235 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 09:15:00 +00:00
Oleg Kalnichevski
456461b1c6
HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry (follow-up)
...
Contributed by James Leigh <james at 3roundstones.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1468823 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 10:18:48 +00:00
Oleg Kalnichevski
5769675b15
Redirects with underscore character in the location hostname cause IllegalArgumentException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467942 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 11:36:34 +00:00
Oleg Kalnichevski
485f06bb27
HTTPCLIENT-1338: (regression) Invalidated / stale DIGEST schemes do not get evicted from the auth cache
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467929 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 10:25:34 +00:00
Oleg Kalnichevski
0171390dca
Updated HttpClient 4.3-beta1 release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464619 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 16:11:53 +00:00
Sebastian Bazley
d87d19be4e
HTTPCLIENT-1319 InetAddressUtils.isIPv6HexCompressedAddress does not detect excess groups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 13:37:04 +00:00
Oleg Kalnichevski
e1ca6d2fb8
HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1462069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 12:36:03 +00:00
Oleg Kalnichevski
9d6d3b6288
HTTPCLIENT-1320: Leverage javax.net.ssl.SSLSocketFactory#getDefault() to initialize SSL context based on system defaults instead of using an internal custom routine
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 11:41:56 +00:00
Karl Wright
584309b3e8
Fix for HTTPCLIENT-1315.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1447065 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:01:49 +00:00
Sebastian Bazley
4146dd8c58
HTTPCLIENT-1317 InetAddressUtils should handle IPv6 Addresses with Embedded IPv4 Addresses
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 19:15:07 +00:00
Oleg Kalnichevski
265f083625
HTTPCLIENT-1320: SSLSocketFactory#createSystemSSLContext causes UnrecoverableKeyException 'Password verification failed' when a truststore is specified with 'javax.net.ssl.trustStore' system property is used without a password
...
Contributed by Abe Backus <abraham at backus.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444408 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 18:27:21 +00:00
Sebastian Bazley
d7afb22c13
[HTTPCLIENT-1316] Certificate verification rejects IPv6 addresses which are not String-equal.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442829 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 01:41:58 +00:00
Oleg Kalnichevski
5cd571a159
HTTPCLIENT-1307: Future based asynchronous request execution
...
Contributed by Jilles van Gurp <jilles at jillesvangurp.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:28:49 +00:00
Oleg Kalnichevski
f6f1d7af49
HTTPCLIENT-1311: made sure the current thread is re-interrupted if InterruptedException is caught and re-thrown as a different exception; tweaked connection manager API related to interruptable operations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1441414 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 12:06:33 +00:00
Oleg Kalnichevski
1f7b7a32af
HTTPCLIENT-1312: Zero length content entities with a Content-Encoding header cause an I/O error when an attempt is made to consume such entity
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:13:02 +00:00
Oleg Kalnichevski
e37f99ccda
HTTPCLIENT-1313: Fixed IllegalStateException in deprecated ThreadSafeClientConnManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440520 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:59:20 +00:00
Oleg Kalnichevski
500434f256
HTTPCLIENT-1305: Ensure chunking is disabled when applying Base64 encoding
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1438495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 13:19:23 +00:00
Oleg Kalnichevski
508497a8be
HTTPCLIENT-1298: Add AsynchronousValidator in HttpClientBuilder's list of closeable objects
...
Contributed by Martin Meinhold <mmeinhold at atlassian.com>
* Resolve constructor dependency between CachingExec and AsynchronousValidator
* AsynchronousValidator implements Closeable interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437952 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 11:05:36 +00:00
Gary D. Gregory
2c0be950d8
Small edits to release notes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433388 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:06:32 +00:00
Oleg Kalnichevski
f5a8aa7ba9
Updated release notes for HttpClient 4.3-alpha1 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432071 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 14:47:42 +00:00
Karl Wright
a7984199d7
Fix for HTTPCLIENT-1296. Change where the virtual host is evaluated until after we figure out the target in the absence of a virtual host.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1431183 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 02:47:32 +00:00
Oleg Kalnichevski
4136406ac8
HTTPCLIENT-1290: 304 cached response never reused with If-modified-since conditional requests
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1430245 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 12:16:00 +00:00
Oleg Kalnichevski
6ceddc02e0
HTTPCLIENT-1291: Absolute request URIs without an explicitly specified path are rewritten to have / path
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1430008 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 21:06:35 +00:00
Oleg Kalnichevski
9ec0c13594
HTTPCLIENT-1286: Request URI rewriting is inconsistent - URI fragments are not removed from absolute request URIs.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1427482 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 17:26:08 +00:00
Oleg Kalnichevski
e99b061a95
HTTPCLIENT-900: Don't enforce URI syntax for messages with an explicit target host
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1424591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 17:05:07 +00:00
Oleg Kalnichevski
38e6a997fc
HTTPCLIENT-1250: Allow query string to be ignored when determining cacheability for HTTP 1.0 responses
...
Contributed by Don Brown <mrdon at twdata.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1424589 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:56:41 +00:00
Oleg Kalnichevski
e798d4947c
HTTPCLIENT-1284: HttpClient incorrectly generates Host header when physical connection route differs from the host name specified in the request URI
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1424448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 13:05:41 +00:00
Oleg Kalnichevski
f492a000e7
Kerberos and SPNego auth schemes use incorrect authorization header name when authenticating with a proxy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1424447 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 13:04:50 +00:00
Karl Wright
093284e54a
Fix for HTTPCLIENT-1283.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423832 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 11:34:58 +00:00
Karl Wright
b284816743
Another fix related to HTTPCLIENT-1268. Get flags for when to send NTLMv2 response correct.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423314 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 08:14:25 +00:00
Oleg Kalnichevski
2aa1fc1400
HTTPCLIENT-1279: Target host responding with status 407 (proxy authentication required) causes an NPE
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423172 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 21:51:42 +00:00
Oleg Kalnichevski
5c0cb57422
HTTPCLIENT-1281: GzipDecompressingEntity does not release InputStream when an IOException occurs while reading the Gzip header
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1422997 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 16:12:18 +00:00
Oleg Kalnichevski
a92a196de2
HTTPCLIENT-1277: Caching client sends a 304 to an unconditional request.
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1421977 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:02:46 +00:00
Karl Wright
fc91b38a25
Update release notes for HTTPCLIENT-1278.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1421889 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:27:22 +00:00
Oleg Kalnichevski
1779158a4f
HTTPCLIENT-1276: cache update on a 304 response causes NPE
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1421330 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:08:01 +00:00
Oleg Kalnichevski
6425e97a02
HTTPCLIENT-1273: DecompressingHttpClient does not automatically consume response content in case of an i/o, HTTP or runtime exception thrown by the decompressing protocol interceptor leading to a potential connection leak
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1420613 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 10:41:20 +00:00
Karl Wright
c98900ebd8
Fix for HTTPCLIENT-1080. Comment out dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1419348 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 11:28:44 +00:00
Karl Wright
460a604487
Fix for HTTPCLIENT-1268. Correct a buffer overrun and add additional tests designed to detect similar problems in the future.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1419343 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 11:16:29 +00:00
Oleg Kalnichevski
dd3d12f0d6
HTTPCLIENT-1263: BrowserCompatSpec: attribute values containing spaces or special characters should be enclosed with quotes marks for version 1 cookies
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1418654 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:12:12 +00:00
Oleg Kalnichevski
264d2038ea
HTTPCLIENT-1266: NTLM engine refactoring and compatibility improvements.
...
Contributed by Karl Wright <DaddyWri at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1417384 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:31:20 +00:00
Oleg Kalnichevski
f24317d156
HTTPCLIENT-1263: CachingHttpClient fails to release connections back to the connection manager for some type of HTTP response messages when used together with DecompressingHttpClient
...
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1412858 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 12:45:02 +00:00
Gary D. Gregory
b6457c4d27
[HTTPCLIENT-1260] Javadoc incorrectly states StringBody(String)'s encoding uses the system default. Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409922 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 18:46:03 +00:00
Oleg Kalnichevski
6293899e61
HTTPCLIENT-1254: Redirect with underscore in hostname causes ProtocolException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406286 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 19:53:01 +00:00
Oleg Kalnichevski
b930227f90
HTTPCLIENT-1255: AbstractVerifier incorrectly parses certificate CN containing wildcard
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406217 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:49:49 +00:00
Oleg Kalnichevski
46aca9def4
HTTPCLIENT-1248: Default and lax redirect strategies should not convert requests redirected with 307 status to GET method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396793 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 20:51:30 +00:00
Oleg Kalnichevski
dedc1575c5
HTTPCLIENT-1215: BasicAuthCache does not take default ports into consideration when looking up cached authentication details by HttpHost key
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1396748 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 19:14:10 +00:00
Oleg Kalnichevski
639cc93c56
HTTPCLIENT-1241: (regression) Preemptive BASIC authentication failure should be considered final and no further attempts to re-authenticate using the same credentials should be made
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1393991 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:19:59 +00:00
Oleg Kalnichevski
4d38bede89
HTTPCLIENT-1229: Fixed NPE in BasicClientConnectionManager that can be triggered by releasing connection after the connection manager has already been shut down
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1382442 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 10:41:41 +00:00
Oleg Kalnichevski
90b8646309
HTTPCLIENT-1227: Date parsing in DateUtils made more efficient
...
Contributed by Patrick Linskey <pcl at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1378935 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:35:05 +00:00
Jonathan Moore
b7d1d69ef6
HTTPCLIENT-1223: Forward port from 4.2.X branch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1376181 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 18:31:52 +00:00
Oleg Kalnichevski
898b33ac21
HTTPCLIENT-1216: Added method to force clean thread-local used by DateUtils
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1364276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 12:20:27 +00:00
Oleg Kalnichevski
8550f02238
Fixed grammatical error in release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355406 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 14:31:21 +00:00
Oleg Kalnichevski
2706c4b463
Added Quick Start sources; fixed release notes header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1355393 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:59:57 +00:00
Oleg Kalnichevski
d0384ac811
Updated release notes and download page for HttpClient 4.2.1 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1354507 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 13:59:14 +00:00
Oleg Kalnichevski
da16fdc973
HTTPCLIENT-1209: Redirect URIs are now normalized
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1352845 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 11:05:10 +00:00
Jonathan Moore
2748f2748a
HTTPCLIENT-1202: ResponseCachingPolicy had a bug that was making it too
...
draconian in refusing to cache certain responses.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1347627 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:14:42 +00:00
Oleg Kalnichevski
36c40dab03
HTTPCLIENT-1199: DecompressingHttpClient strips content from entity enclosing requests
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1345658 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 11:45:41 +00:00
Jonathan Moore
4086d02fbc
HTTPCLIENT-1198: Updated release notes for bugfix.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1345298 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 18:11:43 +00:00
Oleg Kalnichevski
a64a3e252e
HTTPCLIENT-1200: DecompressingHttpClient fails to generate correct HttpHost context attribute
...
Contributed by Guillaume Castagnino <casta+jira at xwing.info>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1344743 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 14:28:38 +00:00
Oleg Kalnichevski
5300548a56
HTTPCLIENT-1192: URIBuilder encodes query parameters twice
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1343355 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 18:29:50 +00:00
Oleg Kalnichevski
0da3e7251e
HTTPCLIENT-1193: Fixed regression in the route tracking logic of the default connection manager causing cross-site redirect failures.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1342677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 15:13:43 +00:00
Oleg Kalnichevski
92ce24b478
Removed non-ascii characters from the release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1339142 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 12:42:40 +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
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
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
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
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
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
Jonathan Moore
cac1432472
HTTPCLIENT-1154: MemcachedHttpCacheStorage should allow client
...
to specify custom prefix string for keys. This is implemented by
providing a decorator KeyHashingScheme that adds the prefix.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1232588 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 21:35:08 +00:00
Jonathan Moore
58036bc594
HTTPCLIENT-1157: MemcachedHttpCacheStorage should throw IOExceptions instead of RuntimeExceptions.
...
Contributed by James Miller <jamesmiller01 at gmail dot com>.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1230174 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 18:12:50 +00:00
Jonathan Moore
ae11627878
HTTPCLIENT-1152: Added credit to Rajika Kumarasiri <rajika at wso2 dot com>
...
to RELEASE_NOTES.txt for 4.2 alpha2.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1229176 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 14:38:17 +00:00
Oleg Kalnichevski
8f767628cf
HTTPCLIENT-1155: CachingHttpClient fails to ensure that the response content gets fully consumed when using a ResponseHandler, which can potentially lead to connection leaks
...
Contributed by James Miller <jamesmiller01 at gmail dot com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1222845 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 20:59:54 +00:00
Oleg Kalnichevski
a6db7c5185
HTTPCLIENT-1147: When HttpClient-Cache cannot open cache file, should act like miss
...
Contributed by Joe Campbell <joseph.r.campbell at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1209503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 14:15:11 +00:00
Jonathan Moore
fceb87e3bc
HTTPCLIENT-1143: Added ASL header to ConsumableInputStream test class.
...
Credited James Miller in Release Notes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1198941 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 21:13:45 +00:00
Jonathan Moore
c13bbbdd17
HTTPCLIENT-1137: Added credit for Alin Vasile for his patch to the RELEASE_NOTES.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1197718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 19:11:31 +00:00