Commit Graph

1567 Commits

Author SHA1 Message Date
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 b73cd6c0f5 aligned project names in README and NOTICE with core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@581507 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 06:23:01 +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
Roland Weber a9722d704e HTTPCLIENT-692: TSCCM throws InterruptedException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578385 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:22:57 +00:00
Roland Weber 5d5b2fa48d ClientConnectionManager declares InterruptedException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578383 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:07:44 +00:00
Roland Weber c67d2fc640 updated release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576093 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 12:46:36 +00:00
Roland Weber 7842392cf9 parameter names in interfaces, part 4 - examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576080 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 11:59:49 +00:00
Roland Weber 3035ff2e77 parameter names in interfaces, part 3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576078 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 11:50:41 +00:00
Roland Weber 7ef4e48620 parameter names in interfaces, part 2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576074 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 10:53:24 +00:00
Roland Weber 4c696dcc14 parameter names in interfaces, part 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576068 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 10:25:01 +00:00
Roland Weber e06ad24e3d JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573984 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 10:43:25 +00:00
Roland Weber 260091f9f9 fixed broken example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573869 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 15:57:05 +00:00
Roland Weber 8dbfedcf0a HTTPCORE-107: replaced HttpVersion by ProtocolVersion wherever appropriate
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573865 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 15:53:39 +00:00
Roland Weber efe4b9c9c0 HTTPCLIENT-649: ManagedClientConnection now supports proxy chains
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573844 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 14:20:53 +00:00
Roland Weber 7738386c10 renamed TSCCMConnAdapter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573832 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 13:05:02 +00:00
Roland Weber 017fad655d HTTPCORE-110: removed lineParser and lineFormatter attributes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573830 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 12:41:42 +00:00
Oleg Kalnichevski 8325bfe2d1 * Added ClientCookie interface that extends the standard Cookie interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server
* Cookie specs refactored to make use of the ClientCookie interface / code cleanups

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@572573 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 08:20:29 +00:00
Roland Weber 2084e14af9 HTTPCLIENT-669: moved DefaultRoutePlanner from client to conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@571808 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 15:32:48 +00:00
Roland Weber 63c5064f31 moved startsWithHTTP to LineParser in core; the garbage line skipping remains in conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@571583 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 21:06:17 +00:00
Roland Weber d117305774 use AbstractHttpClientConnection lineParser and lineFormatter instead of local attributes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569839 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 16:51:40 +00:00
Roland Weber 31de8d1dcf adjusted to formatting API changes in core
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569832 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 16:21:17 +00:00
Roland Weber 31b18a4bb7 interface FormattedHeader to avoid instanceof check on implementation class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569782 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 09:05:19 +00:00
Roland Weber b341070860 added throws declaration for ParseException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@569634 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 07:27:56 +00:00
Roland Weber 1bbbd79a8c adjusted auth, cookie to non-static parsing code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@568037 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 09:27:57 +00:00
Roland Weber d815670db3 HTTPCORE-110, adjustment to API changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@568003 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 08:06:00 +00:00
Roland Weber 532fddb7aa TSCCM package JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@564950 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 18:02:18 +00:00
Roland Weber 29d8c269b9 fixed JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@564938 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 16:42:58 +00:00
Oleg Kalnichevski b88791b45f Moved attributes used only by strict specs when formatting cookies to SetCookie interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@563548 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 16:42:09 +00:00
Oleg Kalnichevski 6475dd23d8 HTTPCORE-106: Moved garbage tolerant HTTP response parser to HttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@562715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 13:14:39 +00:00
Roland Weber 3476e5f3e2 factored RouteSpecificPool out from ConnPoolByRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561098 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 19:35:39 +00:00
Roland Weber 6431580e82 even more cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 19:11:06 +00:00
Roland Weber 782fd75b1e more code cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@561043 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 17:02:23 +00:00