Custom 307 Redirect Handler

21 views
Skip to first unread message

Ricky Rathore

unread,
Aug 26, 2020, 10:35:47 PM8/26/20
to asynchttpclient

Hello,

We have a service which sends multiple 307 redirects before we actually get to a server where we could get the actual response from. Each 307 has some meta data in it's location header which we can parse to cut down on number of 307s.

I am looking to implement a custom 307 handler which can parse this data and make intelligent routing. I am wondering if AsyncHtpClient has a way to plug this custom redirect handler in the response handling path?

I am using AsyncHttpClient version 2.10.1

Thanks!
Ricky Rathore
Reply all
Reply to author
Forward
0 new messages