getStreamingContent is null and gives a bad request with Google HTTP Client

28 views
Skip to first unread message

Graeme Harnish

unread,
Mar 25, 2014, 12:30:10 PM3/25/14
to google-http...@googlegroups.com

For every request I get a bad 400 BAD_REQUEST using the Google HTTP client.

The request looks as follows:

CONNECT test.xxxx.com:443 HTTP/1.1 Host test.xxxx.com User-Agent Google-HTTP-Java-Client/1.17.0-rc (gzip) Proxy-Connection Keep-Alive

And the response

HTTP/1.1 400 BAD_REQUEST Content-Length 0 Connection Close

Debugging into the google code it basically fails when calling getStreamingContent. It then tries to connect again it succeeds. How can I get it not do the bad request?

Thanks.

Reply all
Reply to author
Forward
0 new messages