On Thu, 2018-10-11 at 15:41 +0500, Adam Retter wrote:
> >
> > 1. Turn on 'expect-continue' handshake. It is intended precisely
> > for
> > such situations.
> >
>
> So I assume that for this I just set the HTTP Header, like so:
>
> httpPut.setHeader("Expect", "100-continue");
>
>
There is a
>
> 1. Turn on 'expect-continue' handshake. It is intended precisely for
> such situations.
>
So I assume that for this I just set the HTTP Header, like so:
httpPut.setHeader("Expect", "100-continue");
If so, unfortunately that is not helping the request from the client now
looks like:
PUT
On Wed, 2018-10-10 at 22:41 +0500, Adam Retter wrote:
> I am using the Maven httpclient 4.5.6 artifact and trying to make a
> PUT
> request to a server. The server for some URLs requires
> authentication, it
> is impossible to know which URLs do and don't ahead of time. I only
> want to
> send the