what I want.
Can someone tell me what I'm doing wrong ?
Thanks,
GTG
--
Gordon Ross
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org
eader to Request: X-CREDENTIALS
2016-03-17 16:59:39,986 [TP-Processor3] TRACE util.BasicHttpClient gr306 -
Adding Header to Request: Accept
2016-03-17 16:59:39,986 [TP-Processor3] TRACE util.BasicHttpClient gr306 -
Adding Header to Request: Content-Type
As I said, when this same library co
p.client
Would you want any more?
GTG
--
Gordon Ross,
UIS Telecoms Office,
University of Cambridge
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org
.
Is there a way to tell HTTP Client to only sent the Authorization header in
response to a 401 from the server, instead of with every request? Or do I have
to manually add & remove the Authorization header myself?
Thanks,
GTG
--
Gordon
Are there any docs on thread safety with HTTP Client?
Looking at the multithread example at
https://github.com/apache/httpcomponents-client/blob/5.1.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java
I'm guessing that anything that's a subclass of
How do I do that?
Gordon.
From: Oleg Kalnichevski
Date: Thursday, 7 July 2022 at 19:30
To: HttpClient User Discussion
Subject: Re: Sockets not closing
On Thu, 2022-07-07 at 18:17 +, Gordon Ross wrote:
> If I don’t do the getContent() then the socket is closed as soon as I
&
is = response.getEntity().getContent();
is.close();
response.close();
But even with this, the underlying socket remains open.
I’ve tried looking at the samples and I can’t see I’m doing anything different.
What am I missing?
Gordon Ross (he/him)
Collaboration Tools Team
University Information Services
tity/stream will close
> the socket in all cases.
>
> -ck
>
I strongly suspect that the connection was simply kept alive and
pooled. That can be established by tuning on connection management
context logging.
Oleg
> On Thu, Jul 7, 2022, at 13:58, Gordon Ross wrote:
> > I’m u
eing that
requests made with separate SessionContexts are being made with cookies from
other calls.
Is this expected behaviour? Or have I subtly screwed up somewhere?
Thank you,
Gordon Ross (he/him)
Collaboration Tools Team
University Information Services
University of Cambridge
While it suit
equests
On Fri, 2022-07-01 at 21:29 +0000, Gordon Ross wrote:
> I’m trying to clarify how Cookies, Clients & Requests interact.
>
> I thought that Cookies would only be shared between requests if they
> were saved from a previous request/respone and added to the
> SessionContext
10 matches
Mail list logo