Possible bug in RedirectExec in HttpClient 5.0-beta7

2020-02-17 Thread Michael Osipov
Folks, I have continued to fiddle a bit more with the redirector in HttpClient 5.0. I have modified my servlet code to respond with 307 from within a Tomcat valve which immediately kicks in after "Expect: 100-continue". There seems to be a bug in RedirectExec: [main] DEBUG

Re: Fail non-repeatable requests when following redirects

2020-02-17 Thread Michael Osipov
Am 2020-02-17 um 14:11 schrieb Oleg Kalnichevski: On Sun, 2020-02-16 at 23:30 +0100, Michael Osipov wrote: Folks, I am working again on some stuff in Maven Wagon, WAGON-570. After some tests I do not understand why this does not fail: main] DEBUG org.apache.http.headers - http-outgoing-0 >>

Re: Fail non-repeatable requests when following redirects

2020-02-17 Thread Michael Osipov
Am 2020-02-17 um 14:11 schrieb Oleg Kalnichevski: On Sun, 2020-02-16 at 23:30 +0100, Michael Osipov wrote: Folks, I am working again on some stuff in Maven Wagon, WAGON-570. After some tests I do not understand why this does not fail: ... The supplied entity is non-repeatable,

Re: Fail non-repeatable requests when following redirects

2020-02-17 Thread Oleg Kalnichevski
On Sun, 2020-02-16 at 23:30 +0100, Michael Osipov wrote: > Folks, > > I am working again on some stuff in Maven Wagon, WAGON-570. After > some > tests I do not understand why this does not fail: > > > main] DEBUG org.apache.http.headers - http-outgoing-0 >> PUT /test- > > secured-put-resource