On 11/06/2022 13:32, Oleg Kalnichevski wrote:
On Sat, 2022-06-11 at 10:30 +0200, Graham Leggett wrote:
Hi all,

I am looking at how feasible it is to upgrade jackrabbit from
httpclient 4 to 5, and have found that the following class was
removed in trunk:

org.apache.http.client.methods.HttpEntityEnclosingRequestBase

There is nothing in the javadocs for 4.x to show that the class is
deprecated or what it’s been replaced with, can anyone confirm what
replaces this class?

https://github.com/apache/jackrabbit/blob/ed3124e5fe223dada33ce6ddf53bc666063c3f2f/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/BaseDavRequest.java#L47

Regards,
Graham

Hi Graham

As of version 5.0 all HTTP methods can include a message context body.

Hi.

(I hope you don't mind the drive by post.)

In practise that might not be the case, InternalHttpClient and HttpRequestRetryExec both use ClassicRequestBuilder to copy the request which prevents TRACE methods to be sent with an entity.

Is this something that should be changed (to be allowed)?

Thank you!
Best regards.


For more details please see:

https://hc.apache.org/httpcomponents-client-5.1.x/migration-guide/migration-to-classic.html

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to