Commit Graph

280 Commits

Author SHA1 Message Date
Oleg Kalnichevski 49ba9e65e6 Replaced CharArrayBuffer with the JRE standard StringBuilder in all instances where CharArrayBuffer is not being used for building HTTP headers
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615228 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 14:12:39 +00:00
Oleg Kalnichevski d605c403eb HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters (missed one rewrite)
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614927 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:00:09 +00:00
Oleg Kalnichevski 7c4f0f14ca HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski 


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski c8dd44d901 Upgraded HttpCore dependency to 4.0-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614494 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 11:12:51 +00:00
Oleg Kalnichevski f3ced2556a HTTPCLIENT-667:
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default


git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Oleg Kalnichevski 6e68e5ec92 First take at the 'best match' cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613707 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 00:28:37 +00:00
Roland Weber 8a300abec9 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613656 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:06:56 +00:00
Roland Weber bcc2848421 HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00
Oleg Kalnichevski dfffbc9a3c Fixed incorrect handling of redirect locations with the query component
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>  
Reviewed by Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610838 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 16:31:32 +00:00
Oleg Kalnichevski 5709949205 Renamed SimpleParamStack to DefaultedHttpParams; removed #isParameterSet method from the HttpParams interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610764 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:04:10 +00:00
Oleg Kalnichevski 96f2c55a3c Replaced HTTP parameter linking with a simple child/parent stack
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610470 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:18:45 +00:00
Oleg Kalnichevski 33498f875a Log HTTP parameter values in ClientParamsStack#getParameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610052 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:24:51 +00:00
Roland Weber 74f349b0c5 tsccm test coverage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609547 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 09:49:51 +00:00
Roland Weber 22cbf65e15 pointing component and module stylesheets to hc.apache.org
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609527 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 07:52:29 +00:00
Roland Weber f9db56cab2 tests for WaitingThread class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 19:57:05 +00:00
Oleg Kalnichevski 931953f769 HTTPCORE-136: Added #removeParameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 14:14:00 +00:00
Roland Weber df9d1ddc2c serialVersionUID attributes are private
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609105 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 08:55:00 +00:00
Roland Weber 5d43cf9acb updated copyright years
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@608005 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 04:52:27 +00:00
Roland Weber 98e8713c02 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:51:11 +00:00
Roland Weber 1d3425c2db HTTPCLIENT-725: time unit when closing idle connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607432 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:50:02 +00:00
Roland Weber d1a4c2ce6d HTTPCLIENT-725: time unit when getting a connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607430 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:39:11 +00:00
Roland Weber 7ec734211f HTTPCLIENT-725: use factory methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607426 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:16:51 +00:00
Roland Weber 6830f05aab HTTPCLIENT-725: use deadline instead of adjusted timeout interval
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607424 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:02:49 +00:00
Roland Weber 540984183f HTTPCLIENT-677: no Thread.interrupt() for shutdown
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 14:40:44 +00:00
Roland Weber 7a2a85f25e HTTPCLIENT-677: don't use interrupt for regular wakeup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607293 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:25:23 +00:00
Roland Weber a453692c09 HTTPCLIENT-677: switching to new WaitingThread class
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607289 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:08:13 +00:00
Roland Weber caf0b10534 HTTPCLIENT-677: replacing synchronized with Lock/Condition
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607287 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 16:59:17 +00:00
Roland Weber 2e6c2957ef fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607238 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:17:00 +00:00
Roland Weber 2403daf243 added Apache header to apt files
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607237 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:15:52 +00:00
Roland Weber 18fc621d22 HTTPCLIENT-716: removed context lookup for forced route
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606453 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:24:30 +00:00
Roland Weber e127f2278d HTTPCLIENT-723: initial implementation, completely untested
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606452 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:08:56 +00:00
Roland Weber 298a16321c HTTPCLIENT-716: new params for route planner, including a forced route
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606447 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 13:04:02 +00:00
Roland Weber 2f98b75ee0 removed param name from HttpConnParams, it's in ConnRoutePNames
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606425 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 08:54:55 +00:00
Roland Weber 8ea6827dc2 HTTPCLIENT-712: route tracker test coverage back to 100%
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606189 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:12:18 +00:00
Roland Weber 2016962d6f HTTPCLIENT-712: removed deprecated single proxy constructor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606186 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:02:37 +00:00
Roland Weber 789bc843c0 HTTPCLIENT-712: removed deprecated proxy chain constructor, added testcase for null enums
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606184 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:58:07 +00:00
Roland Weber 52cb8d3def HTTPCLIENT-712: added enums for tunnel and layer flags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606103 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 05:44:40 +00:00
Oleg Kalnichevski 78f79461a1 Added mandatory links to ASF wide resources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@605045 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 23:33:05 +00:00
Oleg Kalnichevski 7156b09760 Web site fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604934 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 17:13:39 +00:00
Oleg Kalnichevski 30d4733d06 POM reflecting promotion to the TLP status
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604869 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 13:54:38 +00:00
Oleg Kalnichevski f696e1f684 HTTPCLIENT-718: SSL verification occurs before setSoTimeout, which can lead to hangs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604462 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 17:46:43 +00:00
Oleg Kalnichevski 2370dc5fd3 CookieStore converted to generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604434 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:45:48 +00:00
Oleg Kalnichevski d417db6bba HTTPCLIENT-711: Bad route computed for redirected requests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:35:20 +00:00
Roland Weber f1f1a7a72c cleanup and accessors in RouteSpecificPool
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 19:05:02 +00:00
Roland Weber 289c793a54 use Queue interface in ConnPoolByRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604252 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:43:46 +00:00
Roland Weber 8941651d8a fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604248 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:30:53 +00:00
Roland Weber 494daec53f HTTPCLIENT-715: RoutedRequest moved to impl.client package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 19:00:22 +00:00
Roland Weber c86b3b02bd HTTPCLIENT-715: changed more tests and examples to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603977 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:54:50 +00:00
Roland Weber 389cd303f2 HTTPCLIENT-715: changed tests and one example to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603969 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:30:18 +00:00
Roland Weber 92a3847e4c HTTPCLIENT-715: one of the RoutedRequest methods removed from HttpClient interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603966 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:15:11 +00:00
Roland Weber 6d57a9d5a8 HTTPCLIENT-714: computation of original route moved to director
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603965 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:51:03 +00:00
Roland Weber be0227d72a HTTPCLIENT-713: remove RoutedRequest from ClientRequestDirector interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603956 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:10:22 +00:00
Oleg Kalnichevski baf3239aec Removed unnecessary casts; minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603878 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:51:52 +00:00
Oleg Kalnichevski b62ae8fc19 Fixed remaining generics warnings in o.a.h.impl.conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603874 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:42:41 +00:00
Oleg Kalnichevski 08bf8e8e50 Generics in test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603871 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:33:25 +00:00
Roland Weber 4d8e798156 fixed connection reuse bug, see HTTPCLIENT-711
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603812 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 04:09:47 +00:00
Oleg Kalnichevski 7477aa3042 Generics in o.a.h.impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603615 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:03:21 +00:00
Roland Weber 0603fc9f3c remove last two generics warnings from API part of the code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603610 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 13:29:55 +00:00
Oleg Kalnichevski f4d2074d1e HttpAuth converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603567 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:25:00 +00:00
Oleg Kalnichevski 34d72d935e HttpCookie converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603563 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:17:55 +00:00
Oleg Kalnichevski d12f607b7f Use SimpleDateFormat instead of DateFormat to avoid cast
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603321 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:26:45 +00:00
Oleg Kalnichevski 86f8cd7460 Ain't generics fun?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603319 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:13:00 +00:00
Oleg Kalnichevski 89ffb0f780 More generics all over
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:06:50 +00:00
Roland Weber 3337029c96 some more generics in client and friends
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603312 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 17:27:55 +00:00
Roland Weber 87ff897181 generics in HttpConn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@602981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 18:01:12 +00:00
Oleg Kalnichevski c7b26a6450 HTTPCLIENT-705: Fixed incorrect handling of URIs with null path component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@596230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 09:19:01 +00:00
Oleg Kalnichevski a543fc4fff Re-synched HttpClient trunk with HttpCore trunk
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@595948 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 13:39:46 +00:00
Oleg Kalnichevski 3ddce358ae HTTPCLIENT-688: HttpOptions#getAllowedMethods can now handle multiple Allow headers
Contributed by Andrea Selva <selva.andre at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@594946 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 16:59:15 +00:00
Roland Weber 8616ef1ab2 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-04 09:27:49 +00:00
Oleg Kalnichevski 1564243b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591361 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:22:07 +00:00
Oleg Kalnichevski c3ba003710 [maven-release-plugin] prepare release 4.0-alpha2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:21:50 +00:00
Oleg Kalnichevski 3ff047a1ae Added missing license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590695 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 14:55:41 +00:00
Oleg Kalnichevski 47b1f3e3d6 Fixed javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590162 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:18:52 +00:00
Oleg Kalnichevski 243769a600 HTTPCLIENT-698: Resolve non-absolute redirect URIs relative to the request URI
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:57:15 +00:00
Oleg Kalnichevski e445d72146 HTTPCLIENT-697: Throw a more intelligible exception when connection to a remote host cannot be established.
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589382 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 16:56:32 +00:00
Oleg Kalnichevski a8e875970d HTTPCLIENT-689: Caching of SimpleDateFormat in DateUtils
Contributed by Daniel Müller <strider at digitalstrider.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@587904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:02:49 +00:00
Roland Weber 13124872f7 HTTPCLIENT-689: parameter stack building moved to AbstractHttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@586567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:18:21 +00:00
Oleg Kalnichevski bf541ba1fd HTTPCLIENT-477: Use distinct instances of the authentication handler interface for authentication with target and proxy hosts
Contributed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@585984 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:44:26 +00:00
Oleg Kalnichevski b0f91905f4 Upgraded HttpCore dependency to 4.0-ALPHA6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@584545 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 13:40:19 +00:00
Oleg Kalnichevski e215891dd0 Test if the host name appears to be a fully qualified DNS name, IPv4 address or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583886 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:13:53 +00:00
Oleg Kalnichevski 19e029924f HTTPCLIENT-617: Hostname verification: turn off wildcards when CN is an IP address
Contributed by Julius Davies <juliusdavies at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583749 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 09:19:45 +00:00
Oleg Kalnichevski 3e8a5f6863 Added utility class to test whether a string represents a valid IPv4 or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583201 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:48:12 +00:00
Oleg Kalnichevski fe1fa7cd3f HTTPCLIENT-693: Set stacked parameters on the request wrapper instead of the original request (this also ensures parameters get correctly set on all follow-up requests)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582651 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 17:16:28 +00:00
Oleg Kalnichevski 52b28593cd Ported redirect test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582648 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 16:51:11 +00:00
Oleg Kalnichevski d7a751cfeb HTTPCLIENT-687: Correctly set response parameters
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582639 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:48:11 +00:00
Oleg Kalnichevski 8ad4cebc82 Added protocol test cases to TestAll test suite
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582637 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 14:37:22 +00:00
Oleg Kalnichevski c0a972f953 HTTPCLIENT-693: Moved DEFAULT_HEADERS logic to a protocol interceptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582624 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 13:12:29 +00:00
Oleg Kalnichevski 3bd51e812d Ported Cookie2 test cases from the HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582602 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 09:35:48 +00:00
Oleg Kalnichevski e6d76b2750 * Merged CookieVersionSupport methods into the CookieSpec interface
* Added support for Set-Cookie2 and Cookie2 headers 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582479 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 11:11:09 +00:00
Oleg Kalnichevski 4f153b3ed3 Register RFC 2965 cookie spec with the default HttpClient impl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581954 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:59:09 +00:00
Oleg Kalnichevski 50179d9081 Ported RFC 2965 cookie spec from HttpClient 3.x branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581953 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:53:50 +00:00
Roland Weber 25a9063286 renamed interface SecureSocketFactory to LayeredSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580615 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:40:33 +00:00
Roland Weber e033a99de3 HTTPCLIENT-690: provide access to the SSLSession of SSL connections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:18 +00:00
Roland Weber 7edb8cc47a OMG, how could this ever leave my local machine...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:21:02 +00:00
Roland Weber 05e03b6a0e HTTPCLIENT-689: stackable parameters, take 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578468 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 18:18:54 +00:00
Roland Weber 4d649f9bc8 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 17:15:13 +00:00
Oleg Kalnichevski 51ed99f3ff Ported RFC2965 specific attribute handlers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 11:53:57 +00:00
Oleg Kalnichevski 1ccb1cfc27 Renamed BasicCookie to BasicClientCookie; added BasicClientCookie2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578405 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 11:02:58 +00:00
Oleg Kalnichevski d8d769db59 * Added Port and commentURL attributes to Cookie interface (required by RFC2965)
* Added SetCookie2 interface representing the Set-Cookie2 header
* Copied CookieVersionSupport interface from HttpClient 3.1 branch 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578403 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 10:56:04 +00:00
Roland Weber 8f3f51e39d HTTPCLIENT-692: updated test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578387 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:25:59 +00:00