<div dir="auto"><div><div class="gmail_extra">As an aside, can you get something more sensible out of the API server using a different kind of request, like Connection: close or HTTP 1.0, for at least the requests that might generate this redirect? </div></div></div>