Commit Graph

315 Commits

Author SHA1 Message Date
Oleg Kalnichevski 85f876d6b1 HTTPCLIENT-1491: Enable provision of Service Principal Name in Windows native auth scheme
Contributed by Malcolm Smith <malcolmfsmith at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1583331 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 14:04:34 +00:00
Oleg Kalnichevski 68855c40f4 HTTPCLIENT-1484: GzipCompressingEntity should not close the underlying output stream if the entity has not been fully written out due to an exception
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578440 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 15:34:41 +00:00
Oleg Kalnichevski 254cc058bf HTTPCLIENT-1474: fixed broken entity enclosing requests in HC Fluent
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574554 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 16:06:00 +00:00
Gary D. Gregory 406e3aaa15 Update JUnit to version 4.11 from 4.9.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1574512 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 14:47:13 +00:00
Gary D. Gregory 9c02dde2cc Add release 4.3.3 to RN history.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1572167 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 17:09:29 +00:00
Oleg Kalnichevski 5d11a3e751 HTTPCLIENT-1403: Pluggable content decoders
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571635 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 09:49:47 +00:00
Sebastian Bazley 67a1cc7199 HTTPCLIENT-1470 CachingExec(ClientExecChain, HttpCache, CacheConfig, AsynchronousValidator) throws NPE if config is null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570963 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 03:05:04 +00:00
Oleg Kalnichevski 71eb5c853a HTTPCLIENT-1466: FileBodyPart#generateContentType() ignores custom ContentType values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1570525 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 10:58:02 +00:00
Oleg Kalnichevski 08f88336a1 HTTPCLIENT-1461: fixes performance degradation in gzip encoded content processing introduced by HTTPCLIENT-1432
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1569324 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 13:57:50 +00:00
Oleg Kalnichevski 580a72d2cd HTTPCLIENT-1457: Incorrect handling of Windows (NT) credentials by SystemDefaultCredentialsProvider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565783 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 20:19:44 +00:00
Oleg Kalnichevski 860578ca5f HTTPCLIENT-1456: Request retrial after status 503 causes ClientProtocolException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1565678 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 15:16:28 +00:00
Oleg Kalnichevski 260d370b0f HTTPCLIENT-1454: Make connection operator APIs public.
Contributed by Tamas Cservenak <tamas at cservenak.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1562812 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 13:27:12 +00:00
Gary D. Gregory db04b073ad Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558781 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 13:16:07 +00:00
Gary D. Gregory 9b8db25b17 [HTTPCLIENT-1447] Clients created with HttpClients.createMinimal do not work with absolute URIs.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558405 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 14:48:42 +00:00
Oleg Kalnichevski 1fe5fa3c2e HTTPCLIENT-1446: NTLM proxy + BASIC target auth fails with 'Unexpected state: MSG_TYPE3_GENERATED
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1557064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 09:29:13 +00:00
Oleg Kalnichevski 502908d501 Added HTTPCLIENT-1443 to the release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1554023 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 12:48:13 +00:00
Oleg Kalnichevski b1220dd568 Updated HttpClient 4.3.2 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1554017 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 11:56:30 +00:00
Oleg Kalnichevski a86424fc43 HTTPCLIENT-1442: Authentication header set by the user gets removed in case of proxy authentication
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1548547 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 14:58:15 +00:00
Oleg Kalnichevski ae429fab28 HTTPCLIENT-1441: Caching AsynchronousValidationRequest leaks connections.
Contributed by Dominic Tootell <dominic.tootell at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546855 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:33:37 +00:00
Oleg Kalnichevski 9cc7c1acec HTTPCLIENT-1440: 'file' scheme in redirect location URI causes NPE.
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1546315 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 08:57:04 +00:00
Oleg Kalnichevski 037b915bd0 HTTPCLIENT-1437: Made Executor#execute thread safe
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1545356 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 18:05:24 +00:00
Oleg Kalnichevski 92b7e8cd97 HTTPCLIENT-1119: SNI support (Oracle Java 1.7+ only).
Contributed by Bruno Harbulot <bruno at distributedmatter.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544769 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 11:09:04 +00:00
Oleg Kalnichevski 1cdbd4383a HTTPCLIENT-1435: Fluent Executor ignores custom request properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1544200 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 14:50:55 +00:00
Oleg Kalnichevski 0b3ef4b0d0 HTTPCLIENT-1432: Lazy decompressing of HttpEntity#getContent() to avoid EOFExceptionin case of an empty response with 'Content-Encoding: gzip' header.
Contributed by Yihua Huang <code4crafter at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539302 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 10:37:54 +00:00
Oleg Kalnichevski f3a6831d47 HTTPCLIENT-1431: (Regression) deprecated connection manager cannot be used witha custom LayeredSchemeSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1539286 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 09:24:33 +00:00
Oleg Kalnichevski 6bb9398b39 HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1534585 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 10:10:16 +00:00
Oleg Kalnichevski 4f03bedbf8 HTTPCLIENT-1417: Fixed NPE in BrowserCompatSpec#formatCookies caused by version 1 cookies with null cookie value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530218 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 10:36:30 +00:00
Oleg Kalnichevski df36e1087c HTTPCLIENT-1416: Fixed NPE in CachingHttpClientBuilder#build()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1529812 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 10:08:05 +00:00
Oleg Kalnichevski 3e4455035e Updated HttpClient 4.3.1 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528963 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 18:35:56 +00:00
Oleg Kalnichevski fea3c55520 [HTTPCLIENT-1410: Browser compatible hostname verifier no longer rejects *.co.<countrycode>, *.gov.<countrycode>, *.info.<countrycode>, etc as invalid
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528744 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 08:25:58 +00:00
Oleg Kalnichevski 08140864e3 Ensure X509HostnameVerifier is never null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 20:14:31 +00:00
Oleg Kalnichevski eeb3f4f1ca HTTPCLIENT-1405: CONNECT HTTP/1.1 requests lack mandatory 'Host' header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528325 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 07:28:04 +00:00
Oleg Kalnichevski eeee0720b5 HTTPCLIENT-1402: Cache default User-Agent value
Contributed by yuexiaojun <junedo at qq.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1525568 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 12:27:30 +00:00
Oleg Kalnichevski 80d9c1c8e1 HTTPCLIENT-1398: Fixed invalid OSGi metadata caused by corrupted Maven bundle plugin metadata
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1523659 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 14:17:17 +00:00
Oleg Kalnichevski 11536d3d07 HTTPCLIENT-1399: fixed NPE in RequestBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1523642 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 13:29:25 +00:00
Oleg Kalnichevski 3884ae9951 HTTPCLIENT-1394: Support for Native windows Negotiate/NTLM via JNA
Contributed by Ryan McKinley <ryan at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519613 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 09:28:34 +00:00
Oleg Kalnichevski 56b4d027d8 Removed duplicate entry
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519407 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 12:14:02 +00:00
Jonathan Moore b7b4ef91a4 HTTPCLIENT-1371: Weak ETag Validation is Useful On PUT With If-Match
Contributed by James Leigh <james at 3roundstones dot com>


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519005 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 16:01:37 +00:00
Oleg Kalnichevski 75e959dc59 Updated HttpClient 4.3 release notes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1518783 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 19:43:42 +00:00
Oleg Kalnichevski 0101c2f949 HTTPCLIENT-1384: Expose CacheInvalidator interface
Contributed by Nicolas Richeton <nicolas.richeton at free.fr>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1515814 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 13:10:55 +00:00
Oleg Kalnichevski 71ef668258 HTTPCLIENT-1385: Fixed path normalization in CacheKeyGenerator
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513622 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 19:38:48 +00:00
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