Oleg Kalnichevski
91662f97ad
Brushed up SPNEGO related content
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@819115 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 11:57:23 +00:00
Oleg Kalnichevski
af4b944189
* Added HTTP parameters to define the order of preference for supported auth schemes for target host and proxy authentication
...
* Added SPNEGO auth policy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818601 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:35:03 +00:00
Oleg Kalnichevski
fb6d73ef38
HTTPCLIENT-523: SPNEGO auth scheme
...
* Updated example
* Minor code tweaks
Contributed by Matthew Stevenson <mavricknzwork at yahoo.dot>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@815735 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:17:13 +00:00
Oleg Kalnichevski
d5b954aca9
HTTPCLIENT-523: SPNEGO auth scheme
...
Contributed by Matthew Stevenson <mavricknzwork at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 13:21:13 +00:00
Sebastian Bazley
ed511449da
Show titles in bookmark pane
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@812710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 22:08:37 +00:00
Sebastian Bazley
275ab741da
Fix up SVN properties
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807956 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 10:40:52 +00:00
Oleg Kalnichevski
33de23c102
HTTPCLIENT-866: removed dependency on jcip-annotations; replaced jcip annotations with custom ones based on jcip but with SOURCE retention policy; added attribution clauses to NOTICE.txt and LICENSE.txt
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807756 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:37:59 +00:00
Sebastian Bazley
926488db2e
HTTPCLIENT-869 - Incorrect/incomplete product name in META-INF/NOTICE file
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807559 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:13:32 +00:00
Oleg Kalnichevski
b0f92cd1b0
HTTPCLIENT-868: Add anchors to documentation sections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@806493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 11:01:58 +00:00
Oleg Kalnichevski
c9ad8441da
Fixed latest release version on the download page
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@803308 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 21:41:58 +00:00
Oleg Kalnichevski
f08690443c
Include HttpClient tutorial to all binary assemblies
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@801804 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 20:06:21 +00:00
Oleg Kalnichevski
3c93d00a74
HTTPCLIENT-860: HttpClient no longer converts redirects of PUT/POST to GET for status codes 301, 302, 307, as required by the HTTP spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794051 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:12:27 +00:00
Oleg Kalnichevski
ade383ce93
Updated release packages
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794029 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 19:33:32 +00:00
Oleg Kalnichevski
842a750509
Removed HeadURL, Revision and Date keywords from all source files
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 19:16:48 +00:00
Oleg Kalnichevski
252c98ae78
Updated build instructions; updated web site; added quick start page
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792647 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:31:04 +00:00
Oleg Kalnichevski
a36fc78779
Minor tweaks to tutorial
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792646 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:30:05 +00:00
Oleg Kalnichevski
4c9f497316
Migrated remaining chapters of the HttpClient tutorial from WIKI
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792267 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:07:17 +00:00
Oleg Kalnichevski
de445e3232
Migrated the first chapter of the HttpClient tutorial from WIKI
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@791562 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 18:58:27 +00:00
Oleg Kalnichevski
b9de98e0c4
Fixed OSGi assembly
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788507 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:52:47 +00:00
Oleg Kalnichevski
794d64098e
Fix zip or tgz archives depending on host OS EOL setting (contributed by sebb)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788503 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:44:21 +00:00
Oleg Kalnichevski
1bd224cab2
Added logging guide to the site menu
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749087 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:36:50 +00:00
Oleg Kalnichevski
307ebf2ada
Removed explicit SCM declarations from module POMs; updated examples page; updated assembly descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749059 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:41:21 +00:00
Oleg Kalnichevski
6bf5825254
Ported logging guide from HttpClient 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 15:52:03 +00:00
Sebastian Bazley
5ea4bb730c
Add missing AL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744695 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:46:58 +00:00
Sebastian Bazley
9ca4ef79ee
Remove @author tags; fix some SVN properties
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744689 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:34:53 +00:00
Oleg Kalnichevski
f4b419ff8a
Updated release notes and the web site for HttpClient 4.0-beta2 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723027 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 19:30:22 +00:00
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
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
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
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
14d0e406a3
Added document on NTLM support; ported HTTP client programming primer from WIKI
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@657143 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 17:35:13 +00:00
Oleg Kalnichevski
52747e3afb
Fixed typo on the index page
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@653047 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 10:53:26 +00:00
Oleg Kalnichevski
f8d37586d0
Updated download page for HttpClient 4.0-alpha4 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651811 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 09:57:15 +00:00
Oleg Kalnichevski
56c95adae3
Added site and assembly sources to the SRC distros
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629468 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 14:19:58 +00:00
Erik Abele
fea964b8bc
Add missing full stop.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629287 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 00:36:43 +00:00
Erik Abele
1fd17159fb
Fix link to license.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@628516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:56:41 +00:00
Erik Abele
e61b6b596f
Fix link.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@628514 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:55:51 +00:00
Oleg Kalnichevski
bc603bded7
Added HttpMime module to the assembly descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@628139 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 18:29:27 +00:00
Oleg Kalnichevski
b6f3d188bb
Web site updates for the 4.0-alpha3 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 20:25:32 +00:00
Erik Abele
be5a10ea34
Component site improvements for HttpClient:
...
- remove top link to apache.org - will be inherited from main site
- remove general ASF menu - will be inherited from main site
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620546 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 17:44:49 +00:00
Erik Abele
088cafdee7
Sync core/client component sites:
...
- use correct short name for component, as is done with HttpCore
- remove second identical link in top menu
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620166 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 18:10:42 +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
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
Oleg Kalnichevski
ac6366dd0a
Updated HttpClient download page to refer to the HC download page
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606206 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 14:16:06 +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
8055c0845a
Web site changes reflecting promotion to the TLP status
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604907 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 16:20:09 +00:00
Roland Weber
cc8ede7108
removed reference to RFC 1867 - we don't support multipart/form-data in 4.0 at the moment
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591350 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 14:37:05 +00:00
Roland Weber
8724e37398
fixed wrong RFC reference in website
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591329 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 13:56:55 +00:00
Oleg Kalnichevski
a0578f1038
Corrected HttpClient project description on the front page
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590724 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 15:48:39 +00:00
Oleg Kalnichevski
64a81d6ff7
Added BUILDING.txt; updated assembly descriptor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590192 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:47:33 +00:00
Oleg Kalnichevski
47ed4116a2
Updated web site for 4.0 alpha2 release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590158 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:06:09 +00:00
Roland Weber
ffc73ba4c1
minor updates to website and README
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555189 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 07:09:00 +00:00
Oleg Kalnichevski
851cd62784
Web site fixes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554961 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 14:34:59 +00:00
Oleg Kalnichevski
dcb1753bd6
Added BIN-WITH-DEPENDENCIES assemblies
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554954 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 14:08:15 +00:00
Oleg Kalnichevski
c053c6f954
Optimized BIN assemblies making them somewhat less verbose
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554934 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 13:23:03 +00:00
Oleg Kalnichevski
ebbc30a916
Added assembly descriptors; javadoc fix; added readme file
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554598 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:33:18 +00:00
Oleg Kalnichevski
ee814d147e
HttpComponents HttpClient web site sources
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554410 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 18:54:36 +00:00
Oleg Kalnichevski
e27184ffc7
Maven2 friendly directory layout; Initial commit of the Maven2 project metadata
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539933 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 20:36:28 +00:00
Roland Weber
d54f742c36
server-based multithreaded test of TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539880 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 14:21:28 +00:00
Roland Weber
7f4b4d2caa
serverless shutdown tests for TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539868 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 11:57:15 +00:00
Roland Weber
2bd467f080
test connection GC in TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539856 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 10:15:29 +00:00
Oleg Kalnichevski
7f12408be7
Implemented authentication support for tunneling requests via an authenticating proxy
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539780 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 17:19:49 +00:00
Roland Weber
2dc964aef6
another test case ported, trying to get rid of hard references to TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539772 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 16:09:57 +00:00
Oleg Kalnichevski
c5022e9f6e
Fixed broken testcase
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539591 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 20:17:40 +00:00
Oleg Kalnichevski
123cc0b7a5
Refactored connection management code in DefaultClientRequestDirector#execute(). Preparing to implement authentication handling for tunneling requests via an authenticating proxy
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@539113 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 21:03:49 +00:00
Oleg Kalnichevski
f136fddcca
Fixed bug in connection management code. Connection keep-alive strategy now gets correctly applied prior to executing a follow-up request
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538889 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 12:36:28 +00:00
Oleg Kalnichevski
5ccb548a59
Obtain HTTP state information from HTTP context
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538866 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 10:36:55 +00:00
Oleg Kalnichevski
03cc12fa3c
Moved AuthState to the public API package
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538648 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:43:08 +00:00
Oleg Kalnichevski
829caee0ec
Initial port of the authentication code from Commons HttpClient 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538647 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:41:42 +00:00
Oleg Kalnichevski
c82115dd8c
Added default host and default proxy parameters HTTP client can fall back onto when determining request route
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537750 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 08:42:09 +00:00
Oleg Kalnichevski
4f2187386b
Correctly propagate HTTP response back to the caller in case request tunneling has been refused by the proxy
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537650 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 19:58:22 +00:00
Oleg Kalnichevski
37598982ce
Some code cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537637 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 18:54:06 +00:00
Oleg Kalnichevski
d3fee30940
* Minor bug fixes
...
* Reviewed HTTP CONNECT logic for compliance with Tunneling TCP based protocols through Web proxy servers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537590 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 14:46:12 +00:00
Oleg Kalnichevski
69fa4fa732
Ported circular redirect check
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537567 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 09:52:04 +00:00
Oleg Kalnichevski
e7f0a20c5e
Make sure redirect response body is fully consumed, if present
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537382 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 10:44:13 +00:00
Oleg Kalnichevski
c04bd63e47
Initial port of the redirect handling code
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537378 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 10:34:30 +00:00
Oleg Kalnichevski
9a534e7e8d
Implemented request URI rewriting (depending on whether the request is being routed via a proxy or not)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537144 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 09:30:13 +00:00
Oleg Kalnichevski
3ff9c31171
* Changed HttpClient interface to take a single HttpUriRequest parameter instead HttpHost / HttpRequest pair
...
* Fixed bug in the RequestAddCookies protocol interceptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@537141 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 08:59:55 +00:00
Oleg Kalnichevski
c2bebe8f7e
Upgraded to the latest HttpCore API (caused by HTTPCORE-21)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@536670 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 21:50:47 +00:00
Oleg Kalnichevski
abe4a3e9d8
Implemented request wrapping in the default client request director. This enables the request director to (1) discard automatically generated headers if the request needs to be redirected to another location or re-authenticated (2) re-write the request URI when routing the request via a proxy
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@536144 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 09:59:10 +00:00
Oleg Kalnichevski
08487a18cd
Changelog:
...
* Added an extended version of the HttpRequest interface that provides convenience methods to access request properties such as parsed request URI and method type.
* Added a wrapper class for HttpRequests that can be used to change properties of the current request without modifying the original request object.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535975 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 20:08:31 +00:00
Oleg Kalnichevski
16615aa2ab
* Fixed bug in the stale connection check
...
* Tweaked the process of connection allocation for a slightly better readability
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535835 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 10:18:07 +00:00
Oleg Kalnichevski
c3dcd7651b
Implemented HTTP request retry handling
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535794 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 09:07:44 +00:00
Oleg Kalnichevski
4a6d656ee2
Fixed interface import
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535611 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 13:31:04 +00:00
Oleg Kalnichevski
61ca72ce3e
Copied HttpRequestRetryHandler and DefaultHttpRequestRetryHandler from HttpCore
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535610 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 13:28:13 +00:00
Roland Weber
79402cc117
first server-based test case for TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535592 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 10:15:39 +00:00
Oleg Kalnichevski
060a84532e
Changelog:
...
* Decoupled the process of request preparation and response finalization from the process of request execution (something Roland long insisted upon). This makes it possible to retry the request execution in case of an I/O failure without re-running HTTP protocol interceptors on the failed request
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535512 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 12:02:53 +00:00
Roland Weber
d6159be52e
towards the first server-based test for TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535483 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 09:27:03 +00:00
Roland Weber
47cad596ae
JavaDoc fixes, removed broken constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535473 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 07:58:51 +00:00
Oleg Kalnichevski
0a8b3be76d
Implemented the HTTP state management using new protocol interceptor framework. Cookie2 support has not been ported yet
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@535132 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:01:16 +00:00
Oleg Kalnichevski
55c1c75b10
* Fully initialize the default instances of HttpParams, CookieSpecRegistry, and AuthSchemeRegistry
...
* Instantiate the default ClientConnectionManager based on the HttpParams content
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@534839 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 13:03:41 +00:00
Oleg Kalnichevski
7cda278cd5
Changelog:
...
* Removed static instances from SchemeRegistry, CookieSpecRegistry and AuthSchemeRegistry
* Made sure there is only one instance of SchemeRegistry per HttpClient / ClientConnectionManager
* HostConfiguration, HttpRoute and RouteTracker no longer implement Cloneable as they do not override #clone() method
* AbstractHttpClient should now be threading safe
* DefaultHttpClient populates HTTP execution context with data required for request execution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@534769 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 09:51:22 +00:00
Roland Weber
9fb978483a
some InvalidArgument test cases for TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533491 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 09:07:37 +00:00
Roland Weber
16707c2258
more serverless tests for TSCCM, one bug fixed
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533488 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 08:40:23 +00:00
Roland Weber
8b36eecb33
first (serverless) test case for TSCCM
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@533410 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:46:54 +00:00
Oleg Kalnichevski
62b67ba1ac
Changed Cookie#isExpired() to take current system time as an argument instead of obtaining it through System#currentTimeMillis()
...
Suggested by Roland Weber
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531455 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 12:54:52 +00:00
Roland Weber
4fc15c9a55
JavaDoc fixes in client/cookie/auth
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531154 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 08:01:16 +00:00
Roland Weber
6802e38045
HTTPCLIENT-635, port of HTTPCLIENT-633
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@531152 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 07:41:06 +00:00
Roland Weber
765bbc3947
added Ant build dependency, fixed synchronization bug
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528628 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:43:07 +00:00
Oleg Kalnichevski
04d43a0dd6
Added URL encoded form entity
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@528521 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:21:04 +00:00