On Thu, 2013-08-08 at 11:35 +0200, Philippe Mouawad wrote:
Hello,
I submitted a while ago a bug on fragment handling in URLs:
- https://issues.apache.org/jira/browse/HTTPCLIENT-1286
As a summary HTTPClient handles it by stripping it from URLs even if it's
encoded like this:
://en.wikipedia.org/wiki/Fragment_identifier%23Examples
-
http://en.wikipedia.org/wiki/Fragment_identifier%23Examples
http://en.wikipedia.org/wiki/Fragment_identifier#Examples
-
http://en.wikipedia.org/wiki/Fragment_identifier
Oleg
Regards
Philippe
On Thu, Aug 8, 2013 at 12:59 PM, Oleg
PM, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-08-08 at 13:35 +0200, Philippe Mouawad wrote:
Hello Oleg,
Maybe my question was not cear.
I was saying that using this URL in a Sampler:
- GET http://en.wikipedia.org/wiki/Fragment_identifier%23Examples
The URL
On Tue, 2013-08-06 at 22:58 +0200, Philippe Mouawad wrote:
Hello,
We have an issue with redirection handling in HttpClient 4.2.5
We have a JSP that contains the following code:
%@ page session=false contentType=text/html buffer=8kb %
html
body
%
Philippe
On Wednesday, August 7, 2013, Oleg Kalnichevski wrote:
On Tue, 2013-08-06 at 22:58 +0200, Philippe Mouawad wrote:
Hello,
We have an issue with redirection handling in HttpClient 4.2.5
We have a JSP that contains the following code:
%@ page session=false contentType=text
On Wed, 2013-08-07 at 10:54 +0200, Philippe Mouawad wrote:
Hello Oleg,
In the example Url contained too much garbage to see if all issues were
fixed.
You can see whole context here:
- https://issues.apache.org/bugzilla/show_bug.cgi?id=54482
It seems encoding of these characters is not
The Apache HttpComponents project is pleased to announce release 4.2.5
(GA) of HttpComponents HttpCore. This is a maintenance release that
fixes a number of bugs found in NIO components since 4.2.4.
Users of earlier versions of HttpCore 4.2 are advised to upgrade.
This is likely to be the last
The Apache HttpComponents project is pleased to announce release
4.3 of HttpComponents HttpCore. This is the first stable (GA) release of
HttpCore 4.3. The most notable features in the 4.3 branch are:
* Deprecation of preference and configuration API based on HttpParams
interface in favor of
On Mon, 2013-08-05 at 10:59 -0700, Alex Oscherov wrote:
I have a problem making http async client working with Exchange server
through IIS 7.5. Everything works fine as long as requests are small
but as soon as size of requests increases communication fails with the
HTTP 400 response from the
mail server or
some intermediate hops.
Try using http://pastebin.com/ or a similar service.
Oleg
On Mon, Aug 5, 2013 at 11:28 AM, Oleg Kalnichevski ol...@apache.org
wrote:
On Mon, 2013-08-05 at 10:59 -0700, Alex Oscherov wrote:
I have a problem making http async client
On Tue, 2013-07-30 at 18:02 +0200, Joan Balagueró wrote:
Hello,
I have developed a proxy servlet with an xml cache, running in a Tomcat 6.
When the incoming xml request is not found in the proxy cache, I use
HttpClient 4.2.5 to create a new http request (PoolingConnection) and
On Mon, 2013-07-22 at 15:58 +, Vincent Partington wrote:
Hi there,
The open source library Overthere https://github.com/xebialabs/overthere
that I maintain use HttpClient to connect to Windows machines using WinRM.
The current version can already use HttpClient to authenticate using
On Tue, 2013-07-23 at 13:40 +, Vincent Partington wrote:
Hi Oleg,
OK, I was already afraid I was heading into uncharted waters here. ;-) I've
already got a handle on how to solve it in Overthere itself but I'll see if I
can make my approach into a more general solution for Kerberos
On Sun, 2013-07-14 at 13:07 +0200, Philippe Mouawad wrote:
Hello,
I would like to implement MTOM+XOP requests.
I would like a confirmation there is nothing already existing in
HttpClient/Mime or Core.
Hi Philippe
There is nothing like that in HC but you may find Apache Mime4J useful.
Hope
On Thu, 2013-07-11 at 09:24 +, Dave Johnston wrote:
24 logical cores - 1 server.
I'm trying to simulate real world traffic, where the server I'm testing
against handles 30K + TPS. So I'm creating 1000 connections each doing
between 10 or 30 requests each.
In this case you should have
On Tue, 2013-07-09 at 14:37 +0100, Ke Ren wrote:
Hi,
We turned off STALE_CONNECTION_CHECK recently and handle failed connection
with customized retry. It works well most times except one duplicated
request issue. It fails as the following:
1. our code sends a request at 10:54:16,651
2.
On Mon, 2013-07-08 at 05:19 -0700, bastiat wrote:
Hallo Oleg,
First of all, thx for Your reply,
sync example works fine, thx,
how can I configure keymanager and trustmanager for async ?
below code works correctly for sync (SSLUtil properly loads keymanager[] and
trustmanager[])
On Fri, 2013-07-05 at 21:03 +0200, Ja kub wrote:
hallo,
I want to connect to latest tomcat 7 with client auth required
(clientAuth=true).
I cannot do it neither with synch nor asynch httpClient.
Are there any examples of https with client cert auth available ?
I don't want to use
to investigate this part. Do you see any other issues?
You are not creating a new instance of HttpClient for each request by
any chance?
Oleg
Thanks,
Ke
On Wed, Jul 3, 2013 at 8:59 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-07-03 at 18:59 +0100, Ke Ren wrote:
Hi,
We
the one in benchmark code. that is only one client with
pool manager shared by all requests.
On Thu, Jul 4, 2013 at 11:41 AM, Oleg Kalnichevski ol...@apache.orgwrote:
On Thu, 2013-07-04 at 11:19 +0100, Ke Ren wrote:
Thanks Oleg. 4.2 benchmark code is super useful. I ran this code
On Wed, 2013-07-03 at 18:59 +0100, Ke Ren wrote:
Hi,
We are using httpcomponents httpclient 4.2.2 and doing loadtest with
client. when we increased concurrent requests to 3000 per second, we found
it took near half of cpu usage on aws ec m3.xlarge instance. We have config
as the following:
On Tue, 2013-06-25 at 19:47 +0300, Nir Dweck wrote:
Hi,
I've implemented a synchronous HTTP server based on HTTPComponents-core.
Now I want to support also HTTPS.
I have zero experience in TLS/SSL. I saw the Asynchronous HTTPS server
example. Does anyone have an example of a synchronous HTTPS
it to HttpCore. I reckon this would take a
considerable amount of efforts. Unless you would be prepared to do all
the leg work to make that happen, you should simply depend on HttpClient
cache and copy whatever bits you cannot re-use.
Oleg
On Wed, Jun 19, 2013 at 8:14 AM, Oleg Kalnichevski ol
On Wed, 2013-06-19 at 08:01 -0700, Clover wrote:
Is this in the context of caching for httpclient or the core code? I'm new
to the code base and I'm trying to grok how to get what I need done.
What is it _exactly_ you need done?
Oleg
On Wed, 2013-06-19 at 10:21 -0400, Jason Millard wrote:
Hello.
I'm using HTTPClient 4.2.5 to fetch a variety of resources in a very simple
way.
String url=http://...;;
DefaultHttpClient httpClient = new DefaultHttpClient();
httpClient.getCredentialsProvider().setCredentials(
new
On Mon, 2013-06-17 at 15:28 -0400, Jeff Segal wrote:
I am trying to use URIBuilder to create a URI representing a request to an
endpoint that supports duplicate parameters in the query string. In other
words, a request might look like http://example.com/service?foo=barfoo=baz;.
From my tests
On Tue, 2013-06-18 at 15:11 +0200, Sebastiano Vigna wrote:
On 6 Jun 2013, at 8:56 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-06-06 at 18:25 +0200, Sebastiano Vigna wrote:
What's wrong with using an explicit HttpHost with a resolved address?
OK. We have implemented
On Tue, 2013-06-18 at 15:23 +0200, Sebastiano Vigna wrote:
On 18 Jun 2013, at 3:20 PM, Oleg Kalnichevski ol...@apache.org wrote:
Are you using plain HttpCore or HttpClient?
DefaultHttpClient, actually. We're moving soon to the new (non-deprecated)
classes.
Ciao,
Could you please
On Tue, 2013-06-18 at 14:13 +, Matt Brown wrote:
Taking a look at async client 4.0-beta4 and looking for a little guidance.
With beta3 we had some code like:
PoolingClientAsyncConnectionManager asyncMgr = new
PoolingClientAsyncConnectionManager(new DefaultConnectingIOReactor());
On Fri, 2013-06-14 at 14:23 -0700, Clover wrote:
Is there http/1.1 compliant(ish) caching classes like there are for the
http-client code?
No, there are not. It should be possible to decouple HTTP caching
classes from HttpClient specific APIs but that would probably require
opening up a lot of
is the ultimate authority on everything related to HTTP caching.
Oleg
On Sat, Jun 15, 2013 at 9:01 AM, Oleg Kalnichevski ol...@apache.org
wrote:
On Fri, 2013-06-14 at 14:23 -0700, Clover wrote:
Is there http/1.1 compliant(ish) caching classes like there are for the
http-client code
On Sat, 2013-06-15 at 17:01 -0400, Ting Zhao wrote:
Hello,
...
It looks like the issue is that the client side missing
SSL_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 cipher suite. But I can't figure
out how to add it.
Intesting thing is that URLConnection code is working from the same client
This is the second BETA release of HttpClient 4.3. The most notable
features and improvements in the 4.3 branch are:
* Support for Java 7 try-with-resources for resource management
(connection release.)
* Added fluent Builder classes for HttpEntity, HttpRequest, HttpClient
and SSLContext
On Thu, 2013-06-06 at 22:24 -0400, Sam Perman wrote:
Hello
I'm using the CachingHttpClient and have configured a retry handler for
certain types of errors... but what I really want to do is use a previously
cached response (for certain types of errors) and only retry if there is no
On Thu, 2013-06-06 at 18:25 +0200, Sebastiano Vigna wrote:
It would be useful to be able to start an HTTP request towards a server
specifying the IP address together with the request, so that no DNS
resolution is performed (unless, of course, redirection handling is enabled).
This effect
On Thu, 2013-06-06 at 23:45 +0200, Sebastiano Vigna wrote:
On 6 Jun 2013, at 8:56 PM, Oleg Kalnichevski ol...@apache.org wrote:
What's wrong with using an explicit HttpHost with a resolved address?
---
CloseableHttpClient httpClient = HttpClients.createDefault();
HttpHost target = new
On Mon, 2013-06-03 at 00:10 +0300, Marko Asplund wrote:
Oleg wrote:
Marko wrote:
I noticed that one problem with this approach was that I'm not able to
intercept redirected requests.
HC seems to be using DefaultRequestDirector for executing the
redirected requests instead of the
On Fri, 2013-05-31 at 12:48 +, Godbey, David J. (HQ-LM020)[DIGITAL
MANAGEMENT INC.] wrote:
Some of you have helped me in the past, so the initial paragraph you already
know, but for completeness:
I develop business process applications that operate around Microsoft
Exchange and use EWS
On Mon, 2013-06-03 at 15:15 +, Godbey, David J. (HQ-LM020)[DIGITAL
MANAGEMENT INC.] wrote:
Ok, I guess my previous post was a bit winded, and I got no response. No big
deal.
Actually I did respond to your first message. It was stored in my SENT
box but for some reason never delivered to my
On Sun, 2013-06-02 at 11:21 +0300, Marko Asplund wrote:
Oleg wrote:
Please upgrade to 4.3 and have a look at the new execution chain APIs.
You can use the caching exec as an example of how HttpClient can be made
to respond with a response without hitting the target server.
thanks Oleg!
On Sat, 2013-06-01 at 15:37 +0300, Marko Asplund wrote:
Hi,
I'd like to be able to intercept requests targeted for certain
endpoints issued by HttpClient and implement a custom handler for
those requests. The handler should be able to generate a response for
the requests on the client-side
On Thu, 2013-05-30 at 15:07 -0400, Sachin Nikumbh wrote:
Hi Oleg,
Thanks for your reply. I started digging through the Apache async client
code and have come with a way to access the server certificate immediately
after the SSL handshake in the verify method of SSLSetupHandler, To achieve
On Mon, May 20, 2013 at 09:49:32AM -0400, David Motes wrote:
Use the setChunked method on the entity which defines the content.
There is a content size limit of around 2GB if you do not use chunked
transfer.
DefaultHttpClient cli = new DefaultHttpClient();
HttpPut method = new
On Mon, May 20, 2013 at 08:21:56AM -0700, Tony Anecito wrote:
Thanks David,
I am curious does anyone know if chunked encoding by default was enabled in
httpclient sometime after httpclient 3.1? I see hints of it when I google.
Thanks,
-Tony
Chunk content coding was always on since
issue with Microsoft IIS server caused by what I
believe is a bug in Microsoft's implementation of the DIGEST scheme. Please see
this JIRA for detailed explanation.
https://issues.apache.org/jira/browse/HTTPCLIENT-1071
Oleg
On Wed, May 22, 2013 at 1:36 PM, Oleg Kalnichevski ol
On Wed, 2013-05-15 at 11:53 -0400, Chris Cheshire wrote:
I have a single server configured hosting 3 domains, A.com, B.com, C.com,
all with their own SSL certificates. Accessing these domains via a browser
and SSL all works just fine.
However, the web app on B needs to process a callback
;-) If you app is to go productive in a
few months I would strongly recommend migrating to 4.3 already. 4.3 GA
can be expected by mid Summer.
Oleg
Thanks
Chris
On Fri, May 17, 2013 at 3:52 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-05-15 at 11:53 -0400, Chris
Apache HttpComponents project is pleased to announce the fourth BETA
release of HttpAsyncClient 4.0. This release delivers significant
performance improvements in request execution, especially for short HTTP
messages, and also re-aligns programming interfaces used by the library
with HttpCore 4.3
On Mon, 2013-05-13 at 22:10 -0400, Sachin Nikumbh wrote:
Hi Oleg,
Thanks a lot for the response. I have one more question.
In my client application, I need to provide extra authorization based on
the common name in the server certificate. I want to allow the
request-response exchange (I
On Tue, 2013-05-07 at 17:25 +0200, Walco van Loon wrote:
Hi Oleg,
We have an implementation of tracing to files in place, based on the 4.1
API.
In 4.2.3, there was an issue that a custom ClientConnectionOperator was not
honored everywhere, but that is now fixed. The issue that remains is
The Apache HttpComponents project is pleased to announce release
4.3-beta2 of HttpComponents HttpCore. This release addresses performance
issues in the non-blocking connection pool implementation and also
includes a number of performance improvements in the low level NIO based
transport
On Tue, 2013-05-07 at 09:34 +0200, Walco van Loon wrote:
Hi Stephen,
Good question.
The wire log is not sufficient to fulfill our requirement of being able to
storing HTTP requests/response pairs in a specific directory format (one
directory per source/destination host/day).
Regards,
different authentication
contexts per individual proxy hops. This will likely to require a major
refactoring of authentication state management in HttpClient.
Oleg
On Thu, May 2, 2013 at 3:06 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-05-01 at 09:58 -0400, R Smith wrote
Thanks again for all the help.
-Ryan
On Fri, May 3, 2013 at 12:16 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-05-02 at 15:58 -0400, R Smith wrote:
Thanks Oleg. Thanks for the pointer on CONNECT. Makes sense. Ive forked
the httpclient 4.2.x branch locally so I have
On Mon, 2013-04-29 at 15:00 +, Poonam Chawla wrote:
Hello,
I am working with Apache's HTTP async client and have encountered a possible
bug (race condition).
PROBLEM:
While accessing a nonexistent file on the server, I would ALWAYS expect to
receive a 404 : component not found
On Mon, 2013-04-29 at 11:27 -0400, Sachin Nikumbh wrote:
Hi,
I am currently using the HTTP async client in my application to communicate
with a proprietary server. Now, I need to extend the functionality to
include HTTPS support. We need to provide client authentication and I have
the
On Tue, 2013-04-30 at 16:52 +, Poonam Chawla wrote:
Hello Oleg,
I thought I would just explain my understanding/concern related to the log:
Success Scenario:
1. Client sends the Request Header
2. Client sends the Request Body
3. Server sends 404
4. Server closes the connection
On Tue, 2013-04-30 at 18:09 +, Poonam Chawla wrote:
Hello Oleg,
Here are the logs:
SUCCESS LOG (Wire + Context)
2013/04/30 14:05:59:233 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1]
start execution
2013/04/30 14:05:59:241 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1]
of 4.2.x prior to 4.2.5 (including 4.2.3).
It also affects deprecated code in 4.3 branch.
Oleg
Thanks
Regards
Philippe
On Wed, Apr 24, 2013 at 4:00 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-04-24 at 13:02 +0100, sebb wrote:
On 24 April 2013 12:18, Oleg Kalnichevski ol
On Thu, 2013-04-25 at 11:40 +0100, sebb wrote:
On 25 April 2013 11:22, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-04-24 at 21:34 +0200, Philippe Mouawad wrote:
Sorry Oleg, I mixed up my question.
So does HTTPCLIENT-1340 affect 4.2.3 version of HttpClient ? I am
confused
On Thu, 2013-04-25 at 12:13 +0100, sebb wrote:
On 25 April 2013 12:03, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-04-25 at 11:40 +0100, sebb wrote:
On 25 April 2013 11:22, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-04-24 at 21:34 +0200, Philippe Mouawad wrote
On Thu, 2013-04-25 at 13:28 +0100, sebb wrote:
On 25 April 2013 12:26, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-04-25 at 12:13 +0100, sebb wrote:
On 25 April 2013 12:03, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-04-25 at 11:40 +0100, sebb wrote:
On 25
On Thu, 2013-04-25 at 04:32 -0700, Mike Boyers wrote:
I'm trying to determine how to solve a problem where I have one domain I talk
to that, for the most part, performs well. I can expect most request to be
responded to within a few seconds (I'll call them TypeA requests), but it
also
On Thu, 2013-04-25 at 15:26 +0100, sebb wrote:
On 25 April 2013 14:45, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-04-25 at 13:28 +0100, sebb wrote:
On 25 April 2013 12:26, Oleg Kalnichevski ol...@apache.org wrote:
On Thu, 2013-04-25 at 12:13 +0100, sebb wrote:
On 25
The HttpComponents project is pleased to announce 4.2.5 GA release of
Apache HttpClient. This is a bug fix release that addresses a number of
issues reported since release 4.2.4 including a major bug that can lead
to re-use of persistent connections in a inconsistent state.
All users of
series.
Oleg
Thanks
Regards
Philippe
On Wed, Apr 24, 2013 at 12:41 PM, Oleg Kalnichevski ol...@apache.orgwrote:
The HttpComponents project is pleased to announce 4.2.5 GA release of
Apache HttpClient. This is a bug fix release that addresses a number of
issues reported since release
On Wed, 2013-04-24 at 13:02 +0100, sebb wrote:
On 24 April 2013 12:18, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2013-04-24 at 12:58 +0200, Philippe Mouawad wrote:
Hello,
Just a clarification, does
HTTPCLIENT-1340https://issues.apache.org/jira/browse/HTTPCLIENT-1340
affects
On Tue, 2013-04-23 at 14:17 +0200, Francois-Xavier Bonnet wrote:
Hi,
You should fix the client that sends this request. An incorrect
content-length header value makes it impossible to reuse http connections
and can lead to locked connections and timeouts for example.
In your case, I think
On Mon, 2013-04-22 at 15:43 +0900, Tang Yong wrote:
Hi Asankha,
I made a confirmation for [1], maybe because I am in China, while
accessing [1], automatically selecting a most nearest mirror
site(http://mirror.bit.edu.cn/apache/) for me, then, in the most nearest
mirror site, still is
On Mon, 2013-04-22 at 11:03 +0100, sebb wrote:
On 22 April 2013 10:05, Oleg Kalnichevski ol...@apache.org wrote:
On Mon, 2013-04-22 at 15:43 +0900, Tang Yong wrote:
Hi Asankha,
I made a confirmation for [1], maybe because I am in China, while
accessing [1], automatically selecting
On Tue, 2013-04-16 at 23:47 -0700, Gaurav Kumar wrote:
Hi,
Two questions-
1)
In
org.apache.ht
tp.nio.client.methods.AsyncCharConsumer, is onCharReceived called after
onResponseReceived?
This is correct.
So far my testing shows so but I am looking for official
On Mon, 2013-04-15 at 15:28 -0400, Mark Claassen wrote:
Hopefully someone will respond to this beside me...I am curious to read the
replies.
What OS are you using?
I did something similar to this, although my case was different enough that
this is probably not going to be too helpful.
On Sun, 2013-04-14 at 17:07 +0200, Philippe Mouawad wrote:
A note about this:
-Dhttps.protocols=SSLv3
fixes issue for Java Implementation.
So it seems the server only supports SSLv3, attempt to negotiate upwards
from v2 to v3 seems not to be supported by server.
To fix it for HC family
On Sun, 2013-04-14 at 18:48 +0200, Joan Balagueró wrote:
Hello,
Im querying an url (with head method) and printing all the response headers
received:
HttpResponse response = objHttp.execute(objHead);
HeaderIterator it = response.headerIterator();
while
The HttpComponents project is pleased to announce 4.2.4 GA release of
Apache HttpClient. This is a bug fix release that addresses a number of
issues reported since release 4.2.3.
Users of HttpClient 4.x are advised to upgrade.
---
Download -
http://hc.apache.org/downloads.cgi
The HttpComponents project is pleased to announce the first BETA release
of HttpClient 4.3. The 4.3 branch enhances HttpClient in several key
areas and includes several notable features and improvements:
* Support for Java 7 try-with-resources for resource management
(connection release.)
*
Also can I use TimeToLive on leased connection to overcome leak ?
Thanks,
Jaikit
On Wednesday, April 10, 2013 12:58 AM, Oleg Kalnichevski
ol...@apache.org wrote:
On Tue, 2013-04-09 at 20:53 -0700, Jaikit Savla wrote:
My bad.. I pasted Ning client's initialization. Please find below
Apache
On Thu, 2013-04-11 at 12:12 -0600, Adam Patacchiola wrote:
I have done some more research on this and it appears that the caching is
working, however it is adding 2 entries to the backing cache: one each with
and without the url pre-pended by {Accept-Encoding=}. This results in a
cache miss
On Tue, 2013-04-09 at 16:37 +0300, Nir Dweck wrote:
Hi,
I am trying to receive a multipart entity at my http server and am having
trouble to parse it.
The request includes a header:
Content-Type: multipart/form-data;
boundary=-acebdf13572468
my code does the
Many thanks in advance, all the best!
-Simo
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/
On Mon, Apr 8, 2013 at 11:02 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Mon, 2013-04-08 at 21:25
On Wed, 2013-04-10 at 02:35 -0400, Yu Qiao wrote:
Sorry I forgot to mention that we are using HttpAsyncClient 4.0-beta3.
Thanks,
Yu
On Apr 10, 2013, at 2:28 AM, Yu Qiao yq2...@columbia.edu wrote:
Hi Httpclient-users,
We are using HttpAsyncClient library to do web crawling.
On Tue, 2013-04-09 at 20:53 -0700, Jaikit Savla wrote:
My bad.. I pasted Ning client's initialization. Please find below Apache
Httpclient initialization.
PoolingClientAsyncConnectionManager connectionManager;
try {
// Set up the scheme
AsyncSchemeRegistry ymailRegistry =
.99soft.org/
On Wed, Apr 10, 2013 at 9:34 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Tue, 2013-04-09 at 17:42 +0200, Simone Tripodi wrote:
Hi again Oleg,
I managed my RoutePlanner implementation by extending the
DefaultRoutePlanner, which is simple and straightforward
On Mon, 2013-04-08 at 17:30 +0200, Simone Tripodi wrote:
Hi all mates,
is there any way to setup exception for proxy, in HttpClient instances?
I mean, domains such as localhost or 127.0.0.1 should be skipped by
proxy resolution, as well as more domains which could be configured by
users -
On Mon, 2013-04-08 at 17:57 +0200, Joan Balagueró wrote:
Hello,
Is there any overhead in executing a EntityUtils.consume(httpEntity) if
the response has been completely consumed before? (reading and closing the
entity.getContent() inputStream)
This can depend on HttpEntity
://twitter.com/simonetripodi
http://www.99soft.org/
On Mon, Apr 8, 2013 at 7:06 PM, Oleg Kalnichevski ol...@apache.orgwrote:
On Mon, 2013-04-08 at 17:30 +0200, Simone Tripodi wrote:
Hi all mates,
is there any way to setup exception for proxy, in HttpClient instances?
I mean
On Fri, 2013-04-05 at 14:30 +0200, Francois-Xavier Bonnet wrote:
No, you cannot reconfigure an existing instance. An HttpClient is now an
immutable object. If you need to change some settings, you have to create a
new HtpClient.
This is absolutely true. However, generally one should rarely
On Tue, 2013-03-26 at 11:56 -0700, Tony Anecito wrote:
Hi Oleg,
I am using commons-httpclient-3.1.jar. Is that needed for your example for
4.3-beta 1?
No, it is not.
Oleg
Regards,
-Tony
From: Oleg Kalnichevski ol...@apache.org
To: Tony
The Apache HttpComponents project is pleased to announce release 4.2.4
(GA) of HttpComponents HttpCore. This is a maintenance release that
fixes a number of bugs found in NIO components since 4.2.3.
We advise users of HttpCore NIO of all versions to upgrade.
Download -
On Mon, 2013-03-25 at 12:14 -0700, Tony Anecito wrote:
Hi,
I have a couple of questions that center around migration to 4.3 beta 1.
1. Can I use a httpclient 4.1 front end with a 4.3 beta 1 server side code?
Absolutely. Both sides simply talk HTTP to one another but otherwise are
fully
On Sat, 2013-02-16 at 05:41 -0800, Adrian wrote:
Hi Oleg
What I could do, though, is to make HttpClient use
javax.net.ssl.SSLSocketFactory#getDefault() by default in the 4.3
branch.
That would be a big help for us, can you do that?
Thank you
Adrian
Adrian
I ended up using a
On Mon, 2013-03-04 at 16:48 +0100, Olivier Lamy wrote:
so BTW _ is not valid according to http://www.ietf.org/rfc/rfc2396.txt
So forget my question :-)
Oliver
Indeed, underscore character is not valid for use in DNS names. However
it is a very common violation HttpClient provides a
On Sun, 2013-02-24 at 08:02 +0530, Sivasubramaniam Sivakumar wrote:
Hi,
I have an HTTPS proxy set up so that HTTP clients can send plain HTTP
requests securely to the proxy. For example, a client can send an encrypted
HTTP GET request to the proxy, which will remove the encryption and send
On Fri, 2013-02-22 at 07:33 -0800, preethig wrote:
Thanks Oleg.
I have one more question, what configuration needs to be set on Httpclient
if one wants the client to try with basic authentication challenge incase
SPNEGO fails
eg:
ListString authpref = new ArrayListString();
On Fri, 2013-02-22 at 08:53 -0800, preethig wrote:
Thanks Oleg for the information, but looks like the HttpClient is not falling
back to basic authentication
Please find the live header logs where basic authentication challenge is
very much thrown when negotiate fails liveheader.log
On Fri, 2013-02-22 at 09:28 -0800, preethig wrote:
Hi Oleg,
Thanks for the quick response.
The live httpheader logs shows similar request/response header :
HTTP/1.1 401 Unauthorized
X-Powered-By: Servlet/3.0
WWW-Authenticate: Negotiate
Content-Type: text/html; charset=UTF-8
On Wed, 2013-02-20 at 15:21 -0800, yogesh kamat wrote:
Hello,
I am using httpclient 4.1.3 to authenticate with a CAS server using basic
authentication and POST. When I turn on debug logs for the java process, this
results in my password being logged in clear text in the logs.(through
On Thu, 2013-02-21 at 17:31 +, Gordon Ross wrote:
On 21 Feb 2013, at 17:25, Eduardo Martins emmart...@gmail.com
wrote:
Perhaps cacerts is not really where you point to? It should be at
$JAVA_HOME/lib/security/cacerts , where $JAVA_HOME can be obtained from
/usr/libexec/java_home
On Thu, 2013-02-21 at 21:14 +0100, Roman Kennke wrote:
Hello,
I am trying to post a multipart entity body using MultipartEntity. I
need to use an InputStreamBody, which is non-repeatable (because its
getContentLength() returns -1). However, I get an exception in
On Tue, 2013-02-19 at 08:16 -0800, preethig wrote:
Hi,
I have been trying to make the HttpClient work with SPNEGO authentication
but it fails, see attached httpclient_wire.log and the sample client
program.
HttpClient version : 4.2.2
Application Server : WebSphere 8.5
JDK version : java
1101 - 1200 of 2518 matches
Mail list logo