Oleg Kalnichevski
3f6765dd6e
Updated release assemblies
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722577 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 19:14:41 +00:00
Oleg Kalnichevski
a412fd3bc8
Removed unnecessary socket class check
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722283 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 23:24:07 +00:00
Oleg Kalnichevski
59b1f4047d
Fixed connection re-use strategy local variable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722185 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:13:43 +00:00
Oleg Kalnichevski
2a66c59754
Removed unused local variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722181 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:10:39 +00:00
Oleg Kalnichevski
70f61a78a8
* refactored local test server
...
* added option to specify an SSL context for the local test server
* fixed SSL socket factory test case failing intermittently when running JRE 1.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722180 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:09:46 +00:00
Sebastian Bazley
5e0b01c68d
Simplify code by using empty array instead of null
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 15:36:16 +00:00
Sebastian Bazley
2d66adf715
Integer.valueOf() is cheaper than new Integer()
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722083 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 14:36:31 +00:00
Sebastian Bazley
b2902f1ca0
Add code to show that Gzip worked
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722043 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 11:47:46 +00:00
Sebastian Bazley
d06ecc08e7
Add missing @Override annotations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722041 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 11:39:21 +00:00
Sebastian Bazley
6fa08aafaa
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722028 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 10:29:44 +00:00
Oleg Kalnichevski
e00ac08343
Fixed test case failing on MS Vista
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721833 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 15:49:04 +00:00
Oleg Kalnichevski
f7d3372681
Removed unused local variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721808 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 13:09:38 +00:00
Sebastian Bazley
07dad4db9c
Suppress expected unnecessary cast warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721747 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:12:55 +00:00
Sebastian Bazley
89df3c059b
Javadoc corrections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721746 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:12:08 +00:00
Sebastian Bazley
967655eb86
No point creating Long when we need long
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721745 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:11:25 +00:00
Oleg Kalnichevski
b891c25b6f
Removed IgnoreConnectMethod private class, which is no longer needed; updated User-Agent string
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@712727 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:38:43 +00:00
Oleg Kalnichevski
997d0e0694
HTTPCLIENT-807: Added means to set mime type on default ContentBody implementations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709485 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 17:16:08 +00:00
Oleg Kalnichevski
e6a8741780
HTTPCLIENT-803: Fixed bug in SSL host verifier implementations causing the SSL certificate to be rejected as invalid if the connection is established using an IP address
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709402 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 13:08:23 +00:00
Oleg Kalnichevski
c0209322fb
Removed all TestAll* classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709369 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 09:10:12 +00:00
Oleg Kalnichevski
e69e89e496
HTTPCLIENT-806: DefaultHttpMethodRetryHandler will no longer retry on ConnectExceptions
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709159 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 13:56:25 +00:00
Oleg Kalnichevski
379a83514a
* RFC2965 now rejects Set-Cookie headers as unrecognized
...
* Changed CookieIdentityComparator to correctly compare domain attributes of cookies transmitted with SetCookie and SetCookie2 headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708890 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 12:31:57 +00:00
Oleg Kalnichevski
e434f1367a
DigestScheme can use an arbitrary digest algorithm requested by the target server (such SHA) as long as this algorithm is supported by the Java runtime
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708595 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 15:11:25 +00:00
Oleg Kalnichevski
c3b6c426ca
Fixed parsing and validation of RFC2109 compliant Set-Cookie headers by the Best-Match cookie spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708579 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:05:58 +00:00
Oleg Kalnichevski
1fb53e28c2
Added Clirr report
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708226 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 16:09:04 +00:00
Oleg Kalnichevski
988bfe0b82
Fixed broken #parse(HeaderElement[], CookieOrigin) method in the RFC2965Spec cookie spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708225 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 16:08:27 +00:00
Oleg Kalnichevski
0cdd9b7fc2
Fixed bug that can cause a managed connection to be returned from the pool in an inconsistent state
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708170 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 13:27:39 +00:00
Sebastian Bazley
9fd1aa6dc4
Ignore osgi target directory
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708167 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 13:21:03 +00:00
Oleg Kalnichevski
a2027f5d14
Upgraded HttpCore dependency to version 4.0-beta3; upgraded Mime4j dependency to version 0.5
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@705898 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 17:14:05 +00:00
Oleg Kalnichevski
07aab6a52d
Fixed misleading INFO log message printed if no cookie spec is available in the execution context
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@702605 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 19:48:55 +00:00
Oleg Kalnichevski
884a7cb69a
HTTPCLIENT-797:
...
* Removed javadoc comments about PlainSocketFactory having to be a singleton
* Removed overridden PlainSocketFactory#hashCode() and PlainSocketFactory#equals(). PlainSocketFactory should be using default Object implementation of those methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@698731 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 20:55:47 +00:00
Oleg Kalnichevski
9f8564219e
Removed a code line from examples some users found confusing
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@698722 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 20:40:28 +00:00
Oleg Kalnichevski
726aa572bf
Added osgi bundle module for HttpClient
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@694020 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:56:35 +00:00
Oleg Kalnichevski
0cfdbb16a0
Improved DEBUG log statements; reduced noise in the context logging
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@691587 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 12:22:55 +00:00
Oleg Kalnichevski
fb7a529419
Minor site navigation tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@690216 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 12:44:38 +00:00
Oleg Kalnichevski
4d4c71eaa0
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@688290 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 10:30:46 +00:00
Oleg Kalnichevski
20b1667152
[maven-release-plugin] prepare release 4.0-beta1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@688288 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 10:30:32 +00:00
Oleg Kalnichevski
1664fd0932
Updated dependency description for HttpMime. No longer transitively dependent Log4j and Commons-IO
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687168 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:41:45 +00:00
Oleg Kalnichevski
35e56d5089
Updated assembly descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687166 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:40:27 +00:00
Oleg Kalnichevski
53cc96500e
Added missing ASL headers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687165 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:39:31 +00:00
Oleg Kalnichevski
d887bfb9a8
Added missing ASL headers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687159 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 21:20:46 +00:00
Oleg Kalnichevski
3ab333f897
Upgraded Mime4j dependency to version 0.4
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687151 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:47:00 +00:00
Oleg Kalnichevski
9300827b9e
Removed outdated jardiff logs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687115 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:05:24 +00:00
Oleg Kalnichevski
e07c5a6167
Updated the web site and POM descriptors for 4.0-beta1 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687114 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:03:52 +00:00
Oleg Kalnichevski
a0c1b38bb7
Synched with the latest API changes in Mime4j
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687113 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:02:27 +00:00
Oleg Kalnichevski
d2b34bce20
HTTPCLIENT-790: Protocol interceptors not called when executing CONNECT methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@685136 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:53:49 +00:00
Oleg Kalnichevski
1f7f493c18
HTTPCLIENT-789: Support for passing an SSLContext to the SSLSocketFactory
...
Contributed by Bruno Harbulot <Bruno.Harbulot at manchester.ac.uk>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@684578 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 19:35:36 +00:00
Oleg Kalnichevski
43c53f2ecf
Added info about basic execution flow to HttpClient javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@679523 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 20:08:05 +00:00
Oleg Kalnichevski
bcd59b2007
Fixed generics warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@679520 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 20:00:27 +00:00
Oleg Kalnichevski
685ca305b7
Disabled HttpMime module as there is no hope of mime4j release in a foreseeable future
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@679519 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 19:54:43 +00:00
Oleg Kalnichevski
a66230a60a
Moved suffixlist.txt to the test resources; fixed failing test cases
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@679518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 19:52:55 +00:00