I'm trying to troubleshoot a problem with my HTTP.rb requests.
Specifically, we use a set of proxies for our retrieving (from our API). We have a use case where we are doing HEAD requests to handle URL resolution for shortened URLs.
It seems like HEAD requests are NOT proxied, even with a configured .via on the HTTP client.
Maybe that's by design? Or, maybe I'm doing something wrong. Or, maybe it's never been tested and I'm doing something unique (which I doubt).
This is likely a "support" problem versus a code problem. But, I thought I'd reach out, if nothing else, for others that might hit this problem later and search the issues for a solution.
To test, I created a bit.ly shortened URL, that redirects to httpbin.org. Then, I'm using HTTPlog to check what happens. This is what I see.
I'm trying to troubleshoot a problem with my HTTP.rb requests.
Specifically, we use a set of proxies for our retrieving (from our API). We have a use case where we are doing HEAD requests to handle URL resolution for shortened URLs.
It seems like HEAD requests are NOT proxied, even with a configured .via on the HTTP client.
Maybe that's by design? Or, maybe I'm doing something wrong. Or, maybe it's never been tested and I'm doing something unique (which I doubt).
This is likely a "support" problem versus a code problem. But, I thought I'd reach out, if nothing else, for others that might hit this problem later and search the issues for a solution.
To test, I created a bit.ly shortened URL, that redirects to httpbin.org. Then, I'm using HTTPlog to check what happens. This is what I see.
There is nothing in the logs that indicate a proxy connection.
Thoughts?