IerfSaibot wrote:
Hi,
i like to simulate a login on a webpage via an httppost request. I try to
setup the parameters via the following code:
.
.
.
HttpPost httppost=new HttpPost(ggserverurl+phpexec);
HttpResponse response;
HttpEntity entity;
Tobias Frei wrote:
Hello together,
i am a new subsciber to this mailing list and i hope that anyone can help.
I am trying to simulate a login to a webpage via a httppost-request. When i
send the post, i cannot see the pair parameter/value in the post-data section
of my http sniffer. When i
mtomy wrote:
Hello.
I'm using HttpClient 4.0 in my project. Firstly i'm submitting multipart
form this way:
HttpPost httpPost = new HttpPost(http://[host here]/in.php);
MultipartEntity entity = new
MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
entity.addPart(method, new
On Tue, 2009-11-10 at 00:51 -0800, DUset wrote:
Anyone could you help me to get server certificates using HttpClient using
proxy connection.(I need to use NTLM authentication Scheme for Proxy
aunthentication ).
HttpClient cannot be used to retrieve SSL certificates. I recommend
using this
original-
De: Oleg Kalnichevski [mailto:ol...@apache.org]
Enviado el: martes, 10 de noviembre de 2009 14:08
Para: HttpClient User Discussion
Asunto: RE: redirection in 4.0
On Tue, 2009-11-10 at 12:13 +0100, Juanjo wrote:
The environment was updated to:
Linux 2.6.18
JDK
Simeon Mitev wrote:
Hi guys,
I am pretty new to the mailing list and I already have a question :-)
If you are familiar with PayPal instant payment notifications (IPN) you
probably know the mechanism:
1. PayPal server sends (http post) a notification to provide by the
On Thu, 2009-11-12 at 15:47 +1100, Scott Yeadon wrote:
Hi,
Using HTTP components 4.0 I wanted to create a POST request using the
multipart/mixed content type. However the MultipartEntity does not allow
the contentType to be set and is hardcoded to multipart/form-data.
Looking through the
monmohan wrote:
thanks for the response.
I have observed that whenever the number of simultaneous threads is close to
the max limit, the threads go to infinite waiting state. Is this a known
issue?
HttpClient 3.x is not known to have such an issue. Most likely your
application code leaks
on Windows but not on Linux.
I think that the server is a websphere.
-Mensaje original-
De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: miƩrcoles, 11 de
noviembre de 2009 10:55
Para: HttpClient User Discussion
Asunto: RE: redirection in 4.0
On Tue, 2009-11-10 at 18:36 +0100
natarajan_va...@emc.com wrote:
I just try to upgrade HC 3.x to HC4.0. Use ThreadSafeClientConnManager
for connection management. Any idea to resolve/debug this issue?
(1) Upgrade to the latest 4.0.1 snapshot
kenneth.s.bro...@chase.com wrote:
We are using httpclient 3.1 to send a post and get back serialized java
objects (think of something analogous to Spring Remoting).
We deploy this client code to many client machines talking thru
loadbalancers communicating with Weblogic 10MP1 servers.
The
the
connection. This will also make the migration to version 4.0 somewhat
easier.
Cheers
Oleg
Thanks again,
-k
-Original Message-
From: Oleg Kalnichevski [mailto:ol...@apache.org]
Sent: Thursday, November 19, 2009 3:15 PM
To: HttpClient User Discussion
Subject: Re: Infinite loop
kenneth.s.bro...@chase.com wrote:
Oleg,
I have a network capture from a week or so ago.
This is between the loadbalancer and the server. (We're working on
getting the capture from the client to the loadbalancer).
It shows that we are getting one packet back with data and ending with
0d 0a.
The
Stefan Wachter wrote:
Hi all,
I want to write a custom implementation of the HttpRoutePlanner
interface. The only method to implement is:
public HttpRoute determineRoute(HttpHost aTarget, HttpRequest
aRequest, HttpContext aContext) throws HttpException
i.e. the method has to return an
,
--Stefan
Am 21.11.2009 14:11, schrieb Oleg Kalnichevski:
Stefan Wachter wrote:
Hi all,
I want to write a custom implementation of the HttpRoutePlanner
interface. The only method to implement is:
public HttpRoute determineRoute(HttpHost aTarget, HttpRequest
aRequest
On Sun, 2009-11-22 at 11:55 +0500, Zoltan Bencik wrote:
Dear All,
I've currently set the following parameter during http client
initialization:
params.setParameter(http.conn-manager.max-total, 5);
Is this correct way to limit the maximum connection number?
Because by analyzing the
Folks
There will be two releases of HttpClient very soon (likely next week).
Please test your applications against the preview packages and report
bugs if found
HttpClient 4.0.1
Release notes:
kenneth.s.bro...@chase.com wrote:
Related to previous post: Infinite loop in ChunkedInputStream.close
Oleg,
Last week I posted about an issue where we got the request body, and
when close is called on the input stream it gets to the underlying
InputStream.read and just sits there.
We ran some
)) {
LOG.debug(Method retry handler returned false.
+ Automatic recovery will not be
attempted);
throw e;
}
Thanks for all of your input Oleg.. It is much appreciated.
-Original Message-
From: Oleg
that in order to
configure the pooling for routes it is best to determine the by myself.
Otherwise I must have a close look at the routes that are returned by
the ProxySelectorRoutePlanner.
Thank you for your help,
--Stefan
Am 27.11.2009 17:17, schrieb Oleg Kalnichevski:
Stefan Wachter wrote
On Sat, 2009-11-28 at 17:01 +, Tony Poppleton wrote:
Hi,
I have run a JProfiler on my application that uses HttpClient to send
requests every 10 milliseconds. One interesting part of the results is
that the Log creation is actually consuming about 5% of the time, which
is
(request);
}
}
Am 27.11.2009 22:29, schrieb Oleg Kalnichevski:
Stefan Wachter wrote:
Hi Oleg,
your proposal you need to mark the route as secure but the initial
connection to the proxy should be made via HTTP does not work. If the
route is planned in such a way
a tunnel with HTTP CONNECT (HTTP and not HTTPS);
(2) once the tunnel is established SSL protocol is layered over the
plain connection. Therefore the route must be both TunnelType.TUNNELLED
and LayerType.LAYERED and can be marked secure.
Oleg
Am 30.11.2009 14:38, schrieb Oleg Kalnichevski
On Mon, 2009-11-30 at 14:27 +0100, Oleg Kalnichevski wrote:
On Sat, 2009-11-28 at 17:01 +, Tony Poppleton wrote:
Hi,
I have run a JProfiler on my application that uses HttpClient to send
requests every 10 milliseconds. One interesting part of the results is
that the Log creation
Stefan Wachter wrote:
Hi Oleg,
I am sorry for bothering you. I think I understand now. In order to have
an https connection to a target host via a proxy the proxy is accessed
by http marking the route as being secure, tunneled, and layered. Thank
your for making this clear to me.
This leaves
Malte Ried wrote:
Hi!
I'm trying to write a simple server application. It must be able to
serve a big entity (about 45kb) to the client, which is a JBoss
Application Server in my case. Sending the entity results in a
connection reset. I'm not sure why this happens. Maybe the client side
input
Ken Krugler wrote:
Hi Oleg,
On Dec 3, 2009, at 2:40am, Oleg Kalnichevski wrote:
On Wed, 2009-12-02 at 19:15 -0800, Ken Krugler wrote:
Below is an email from August 7th, which I'm reviving due to this
becoming a bigger issue over in Bixo-land.
I've continued to run into this issue with my
sc...@seanet.com wrote:
Can you expand on your answer a bit? The accept header in the servlet or
some API call (setRequest...() - what value?) in the http client? The
servlets set to return text/xml BTW.
I've also tried it using straight Java HttpUrlConnection, get same result.
Thanks for
Juanjo wrote:
Hi,
In my application, I need to send a post request using JSON parameters.
In PostData, the format is somthing like this: {aaa:a,bbb:b}
How can I use the setEntity method of HttpPost?
Thanks in advance
Juanjo
HttpClient 4.1-alpha1 builds on the stable 4.0.1 release and adds
several functionality improvements and new features.
* Simplified configuration of connection managers.
* Persistence of authentication data between request executions within
the same execution context.
* Support for
Sebastiaan van Erk wrote:
Hi,
I'm not sure it's supported yet in httpclient-4.1-alpha1, but continuing
on my kerberos quest, I was trying the next phase: kerberos proxy
authentication.
This time I'm requesting a public url from the target server via a
kerberos protected squid proxy. Again
Dennis Ryu wrote:
Hey olegk,
I am not quite sure on how to retrieve the wire log and display it. However
I have found the answer to my prior post but now I have a new problem. I
have found how to retrieve the source code by using a ResponseHandler.
However the source code i get from this
it working, I will happily contribute the patches.
Best regards,
Sebastiaan
Hi Sebastiaan
Cool. In my turn I will happily help with HttpClient specific stuff.
Cheers
Oleg
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Hi,
I'm not sure it's supported yet in httpclient-4.1-alpha1
Sebastiaan van Erk wrote:
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Hi Oleg,
Thanks for your reply.
There's a good chance I'm going to have to get this working, even if it
means I'm going to have to delve into this myself. I'll contact the
original developer and see if he sees
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Hi Oleg,
Thanks for your reply.
There's a good chance I'm going to have to get this working, even if it
means I'm going to have to delve into this myself. I'll contact the
original
Sebastiaan van Erk wrote:
Oleg Kalnichevski wrote:
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Hi Oleg,
Thanks for your reply.
There's a good chance I'm going to have to get this working, even
if it
means I'm going to have
Sebastiaan van Erk wrote:
Oleg Kalnichevski wrote:
Sebastiaan van Erk wrote:
Hi Oleg,
Thanks for your reply.
There's a good chance I'm going to have to get this working, even if it
means I'm going to have to delve into this myself. I'll contact the
original developer and see if he sees
Sebastiaan van Erk wrote:
Hi Oleg,
Thanks for adding this. I'm currently a bit stuck on the caching of the
tickets, which really needs to be fixed, but it looks like I'll have to
dive into protocols/APIs deeply (JAAS, Java GSSAPI, SPNEGO) to figure it
out.
There is however one thing about
Tony Poppleton wrote:
Hi Christine,
I am just looking for the simplest solution. Using one http client and one
connection manager would be nice, although not necessary if that is
overcomplicated.
Thanks,
Tony
'http.route.local-address' parameter is your friend.
Tony Poppleton wrote:
Hi,
Just to clarify, at what level should I be setting the
'http.route.local-address' parameter?
Would you advise using a separate HttpClient for this, or a separate
ConnectionManager, or can it simply be set on each request? I am looking for
the most efficient
Juanjo wrote:
Great !!
Thanks
JJ
-Mensaje original-
De: Sam Crawford [mailto:samcrawf...@gmail.com]
Enviado el: jueves, 17 de diciembre de 2009 20:39
Para: HttpClient User Discussion
Asunto: Re: HTTP/1.0 - 417 Expectation failed
Try:
Eduardo Martins wrote:
HttpClient.getCredentialsProvider().setCredentials(AuthScope.ANY, new
UsernamePasswordCredentials(userName,password));
What is the similar code to set those credentials for a single request in
HttpClient 4.x?
-- Eduardo
Stefan Parvu wrote:
Hi,
We are a small group of folks working on a measurement toolkit:
www.systemdatarecorder.org. One of the tools, webrec is supposed
to be a HTTP client measurement tool, recording the response
times for certain HTTP methods.
On Mon, 2009-12-28 at 00:55 +0200, Stefan Parvu wrote:
We have seen that after the first run (usually 1min)
the first response time recorded for the first request
is 2milliseconds followed by the next requests with R=10ms or 11ms.
Here maybe a much simpler example:
On Wed, 2009-12-30 at 14:00 +0100, Sebastiaan van Erk wrote:
...
Hi Oleg,
I'm still working on this, just been on a bit of a break during
Christmas, just so you know.
I have a question on the effects of the following method:
/**
* Tests if the authentication scheme is
Luke Pillow wrote:
Hello,
I'd like to use the HTTPClient, but I'm restricted to Java 1.4.2.
Is 3.1 compatible with Java 1.4.2?
HttpClient 3.x requires Java 1.2.2
Is 4.x compatible with Java 1.4.2?
HttpClient 4.x requires Java 1.5.0. However, HttpCore - a set of low
level transport
Olivier Lamy wrote:
Sure.
It's just I found this more elegant/readable code using the retry
handler mechanism rather than writing catch/loop as with http client
3.x.
While I agree with Ken that retrying requests on ConnectTimeoutException
feels wrong, it is certainly incorrect that retry
On Thu, 2010-01-07 at 11:14 +0100, Olivier Lamy wrote:
Hi,
Sure, I will.
If I want to provide a patch do I have to do it on the 4.0.x branch or trunk ?
Thanks,
--
Olivier
Trunk.
Oleg
-
To unsubscribe, e-mail:
sunitha yellasinganamala wrote:
Hi Oleg,
I tried to use 4.1 but looks like it is not there on maven repository. I
used mvn to get the latest version and apparently could only find 3.1 in mvn
repository.
I understand that I have another option of downloading the jar and add to
classpath
Ken Krugler wrote:
I wanted to verify some behavior I'm seeing with HttpClient 4.0
I occasionally get a ConnectionPoolTimeoutException, even when I've got
spare connections in my ThreadSafeClientConnManager pool.
Looking at the ConnPoolByRoute.getEntryBlocking() code, it appears this
could
Tony Poppleton wrote:
Hi,
Further to the previous mail, I have already implemented my own
AbstractHttpEntity to eliminate a byte[] copy. And I have seen the NIO
implementations of HttpEntities, however they don't seem to copy using NIO
methods so they won't be any faster than the standard
KARR, DAVID (ATTCINW) wrote:
I just downloaded the 4.0.1 release of HttpClient, and I noticed that it
doesn't include a javadoc distribution. There's one available on the
web site, but only for the 4.1 alpha release. Why isn't it in the
distribution?
My bad. It is an oversight on my part.
Guru Prasad P.S wrote:
HttpClient 4 :
Response of first multipart post request is :
[org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 200
[org.apache.http.headers] HTTP/1.1 200
[org.apache.http.headers] Date: Tue, 12 Jan 2010 16:01:47 GMT
Ajay Bansal wrote:
So I checked few thing further.
Problem is only when there is an error generated from the API. For positive,
it works fine.
InputStreamEntity reqEntity = null;
try {
reqEntity = new InputStreamEntity(new
On Wed, 2010-01-20 at 08:20 -0800, Royan wrote:
We have an XML API service which splits reply XML data into chunks if it is
larger then certain amount of bytes. Here is the sample piece of the reply:
HTTP/1.1 200 OK
Server: nginx/0.6.35
Date: Wed, 20 Jan 2010 14:53:27 GMT
Content-Type:
On Wed, 2010-01-20 at 08:54 -0800, nabbler101 wrote:
So I'm trying to pass a very large string (~15mb) as a parameter using
httppost but I'm getting an OutOfMemoryException. The heap size is set to
512-1024mb (which should be more than enough.)
Is there a way around this problem? I'd
sebb wrote:
On 21/01/2010, Usha_N usha.na...@siemens.com wrote:
Hello,
We are using apache commons HttpClient library
(commons-httpclient-3.1.jar).
Users are providing username and password that has multibyte
characters in it. Base64 encoding of the mutlitbyte characters in
HttpClient
Usha_N wrote:
Sorry I was mistaken, it's commons-httpclient-2.0.2 version of jar file.
Upgrade.
Oleg
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail:
On Sun, 2010-01-24 at 18:38 -0800, dale77 wrote:
Hello,
I have a situation where I want to avoid the proxy for the local intranet.
How do I do this with httpclient 4?
Currently I'm using code like this:
proxyClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
On Mon, 2010-01-25 at 10:57 +0800, Jeprotea wrote:
Hi,Oleg
I'm using HttpClient-4 and I'm trying to socket connections over a
special proxy. To do this I've consulted httpclient-4 tutorial,there are
only some simple explanations about
OperatedClientConnection,ClientConnectionOperator
and
Jeprotea wrote:
hi,Oleg
According to your advices, I've tried it,the code is like this(partial):
.
PlainSocketFactory sf = PlainSocketFactory.getSocketFactory();
Socket socket = sf.createSocket();
socket.connect(new InetSocketAddress(proxyHost,proxyPort), 0);
On Wed, 2010-01-27 at 20:42 +0100, Jens Mueller
supidupi...@googlemail.com wrote:
Hello HC Experts,
I would be very greatful for an advice regarding my question. I already
spend a lot of time searching the internet, but I am still have not found an
example that answers my questions. There
On Wed, 2010-01-27 at 15:08 -0800, KARR, DAVID (ATTCINW) wrote:
Every once in a while, informal discussions come up about the advantages
of HttpClient vs. HttpUrlConnection. Is there an up to date version of
that comparison, so someone could review it point by point? There are
old versions
On Wed, 2010-01-27 at 23:08 -0800, cj_tomekk wrote:
Hmm whats a curl? isn't browser with traffic monitoring enough for
comparison?
Use wire logging of HttpClient to see exactly what kind of HTTP messages
get sent across the wire.
Oleg
Ridwan Tan (ridtan) wrote:
Hello,
We have a java application that's using HttpClient 3, Axis2 to integrate
with Microsoft Exchange Server. We authenticate either using basic or
NTLM v1 to Microsoft Exchange Server. We have received a big push from
customer to support NTLM v2 as well.
I have
On Fri, 2010-01-29 at 16:25 -0800, Razvan Mihailescu-Baltag wrote:
We don't use any special proxy for the java applications and for other
applications.
Bellow is a request being made to the public url:
wget http://server.name.com/directory
--00:09:23-- http://server.name.com/directory
On Sat, 2010-01-30 at 23:05 +0100, Jens Mueller
supidupi...@googlemail.com wrote:
Hello Oleg, hello Ken, hello Sam,
thank your very much for your help!!!
Please allow me to ask one further question. In case the DefaultHttpClient
would be used on a website-basis (that is, I create a new
On Sat, 2010-01-30 at 17:53 -0500, Clemens Eisserer wrote:
Hello,
I use the following code in my application, to make sure even
https-connections can be etablished if the server's certificate is
invalid/self-signed:
Protocol myhttps = new Protocol(https, new
On Mon, 2010-02-01 at 17:23 -0800, Learn Learn wrote:
Hi,
We have an application on Servicemix that uses ApacheHTTPCLient within it to
handle http based communication. In our flows, we have defined http
endpoints with a socket timeout of 30 seconds and this usually works except
for the case
On Tue, 2010-02-02 at 21:07 +, Ben Cox wrote:
Hi all,
I'm testing out using chunked encoding with trailing headers at the moment,
but seem to be having some problems getting the HttpClient to find the
trailers. My code looks like this:
Ben Cox wrote:
Oleg,
Thanks for your response. That's interesting - as you say, using trailers is
somewhat of an edge case, though there's something to be said for using them as
part of mashup-type applications in which data may be being sent over an
extended period, so some state may be
Learn Learn wrote:
Oleg,
That's right, but is there a way I can do a request timeout? Any option in
HTTPCLient that would abort a request after a time interval elapses? (time
interval defined by the timeout)
No, there is no such option.
Oleg
Ben Cox wrote:
Ah, getting there - almost! I was making the mistake of trying to cast the
InputStream of a BufferedHttpEntity. If I instead try
response.getEntity().getContent() (i.e. work with the BasicManagedEntity that
it gives me) I get an EofSensorInputStream which, I can see in debug,
On Mon, 2010-02-08 at 02:15 -0800, mleiria wrote:
Hello,
I'm facing the next problem:
I'm trying to consume a web service kerberized from iis. The problem is that
the iis administrators don't want the mechanism fall back to ntlm so de
disabled ntlm, which means that the authentication header
On Wed, 2010-02-10 at 04:17 -0800, bandrm wrote:
Hi,
I am working on a Restful Webservices client using https. Here are the steps
I follow
a) I create a HTTPClient, set the NameValuePair with action, username,
password tokens as j_security_check, j_username, j_password for
Dan Gravell wrote:
Hi. This is a question for HTTPClient 3.1. I am writing an app that needs to
enforce a maximum overall time in which a http GET method can be opened, read
and released. Even if a server is sending me data and the timeout is hit, I
want to abort the transfer.
I am using the
Francesco Toro XB wrote:
Hi All,
...
if (request instanceof HttpEntityEnclosingRequest) {
HttpEntity entity = ((HttpEntityEnclosingRequest)
request).getEntity();
byte[] entityContent = EntityUtils.toByteArray(entity);
Francesco
What is the
Sam Crawford wrote:
Hi Dave,
Take a look at this thread -
http://old.nabble.com/Best-Practices-for-Multithreaded-use-of-HttpClient-(with-Cookies)--td27345690.html
- I think that may help.
I think, in your case, you're going to need to grab a new HttpClient
instance from the
Kaiser Sose wrote:
olegk wrote:
Yes, you can and you basically should.
[...]
By using HttpRequest#getParams()
Hope this helps
Oleg,
thanks for your help. I've fixed and everything is working good but I have
one more question that I really don't know how to handle since I am
replacing a very
Dave Irving wrote:
Hi,
Thanks for your replies. I did some more digging and managed to achieve what
I wanted without resorting to using separate HttpClient instances.
Note that I don't think Persistent Connection State will work in this
situation: All requests coming in to my API are considered
Andreas Blomqvist wrote:
Hi
Doing a POST login to a site (which I dont control) and manually
redirecting. However I am not getting logged in until I make a second call
to the login method. Why?
My code for login :
private HttpContext login(DefaultHttpClient httpClient, String button,
String
Irving, Dave wrote:
Oleg Kalnichevski wrote:
Please go ahead and open a change request in JIRA for this issue.
Please note, though, we will not be able to change the
HttpClientConnection interface, as this would break API compatibility
with previous 4.x releases. Most likely we will have
Matt Solnit wrote:
Hi everyone. Using HttpClient 4.0.1, is it possible to set a maximum overall lifetime
for pooled (persistent) connections? I looked at implementing
ConnectionKeepAliveStrategy, but I believe this is invoked for every request, so there is
no way to remember when a
Ken Krugler wrote:
Hi Douglas,
On Feb 25, 2010, at 8:54am, Douglas Ferguson wrote:
Not sure if this is off topic or not, does anybody have any
recommendations on respecting robots.txt when using HttpClient?
You could check out the SimpleRobotRules class in the Bixo project. This
is used in
Kalnichevski ol...@apache.org wrote:
From: Oleg Kalnichevski ol...@apache.org
Subject: Re: compressing multipart request from custom client
To: HttpClient User Discussion httpclient-users@hc.apache.org
Date: Sunday, March 7, 2010, 8:25 AM
Debbie wrote:
I have a multipart request that I would like
loub wrote:
Hi -,
We are using Apache HttpClient 3.1, with the Multi Threaded Http Connection
Manager to send 1000 HTTP POST messages per second, to 4 test servers (in
our test environment) using trusted persistent connections. This setup has
been soaked for over 72 hours and we found it to
Todor Boev wrote:
Hi,
I am working on an asynchronous HTTP client using the httpcore-nio library.
I need to do session management with cookies. I tried to do it like this:
// Make a request/response handler hooked to the executor
BasicHttpProcessor httpproc = new
niv seker wrote:
Hi,
I am using httpclient for an application that download pages of urls that
appear in RSS feeds.
Httpclient is using java.net.URI, which in many cases is too strict for the
world in which he lives in.
URIs such as:
Jean-Philippe Steinmetz wrote:
Hello everyone,
I'm currently working with httpclient 4.1.alpha1 and am trying to create a
custom authorization scheme. I've got the scheme all coded up but i'm having
trouble actually getting it to execute with the client.
Here's how I am registering the
Brian Long wrote:
Hi Ken,
I saw that comment as well, although I guess I was being optimistic to
assume that HttpClient 4.x does indeed now support pipelining. I'm just not
able to tell for sure, I can't find any specific mention of the word
pipeline in any release notes, javadocs, etc.
Ken Krugler wrote:
Hi Todor,
...
I was hoping it might be related to nio vs. threaded approaches to HTTP
handling.
There's been a lot of debate about the value (performance, simplicity,
resource consumption) but I haven't seen much head-to-head comparison
where the rest of the
of the
Windows test?
I had Windows Defender set to off and no other AV running. It should not
matter that much as the test case should perform no file system bound
I/O (beyond normal class loading)
Oleg
On 13 March 2010 16:59, Oleg Kalnichevski ol...@apache.org wrote:
Ken Krugler wrote:
Hi Todor
Carl-Gustaf Harroch wrote:
Hello
I have been playing with HttpClient for a while now and I get to know
the lib. I hope I can hit on some of this mailing list knowledge to
find a best practise/pattern regarding sending parameters via a
request.
In 90% of my projects, I will use HttpGet or
March 2010 22:09, Oleg Kalnichevski ol...@apache.org wrote:
Carl-Gustaf Harroch wrote:
Hello
I have been playing with HttpClient for a while now and I get to know
the lib. I hope I can hit on some of this mailing list knowledge to
find a best practise/pattern regarding sending parameters
On Tue, 2010-03-16 at 00:39 +, Carl-Gustaf Harroch wrote:
Hi again,
I am trying to add a HttpRequestInterceptor. Something very simple:
HttpClient client = new DefaultHttpClient();
client.addRequestInterceptor(tokenInterceptor);
HttpGet get = new HttpGet(http://google.com;);
is that the interceptor should not
be interdependent and should be loosely coupled but the possibility to
persist the wrapped request to the original should be optional.
Especially that you can set the index of the interceptors.
Any thoughts?
./C
On 16 March 2010 09:23, Oleg Kalnichevski
On Thu, 2010-03-18 at 09:19 +0100, Gajo Csaba wrote:
On 03/17/2010 10:04 PM, Oleg Kalnichevski wrote:
Gajo Csaba wrote:
OK I've found a solution which works. I'm not sure if this is the
best, but so far it works.
I wrote a custom class which extends BufferingHttpClientHandler
On Mon, 2010-03-22 at 18:57 +0530, Gokulakannan Somasundaram wrote:
Hi,
I am a JMeter User and since JMeter uses commons-httpclient-3.1.jar, i
am posting in this forum. Basically i see that the username in NTLM
credentials are being sent in upper case. While there is no problem with
that
On Tue, 2010-03-23 at 14:31 +0100, Joan Balaguero wrote:
Hello,
We're querying a webservice using a 'ThreadSafeClientConnManager'.
Platform: windows 2003 Server 64bit
httpClient 4.0
jre 6 update 13 on Tomcat 6.0.18
We're setting a global response timeout with:
On Tue, 2010-03-23 at 19:17 +0530, Gokulakannan Somasundaram wrote:
I do not see username getting converted to upper case anywhere in
HttpClient code.
From a brief reading of http://davenport.sourceforge.net/ntlm.html
http://davenport.sourceforge.net/ntlm.htmlThe NTLMv2 Response
Step
501 - 600 of 2518 matches
Mail list logo