Hi !

I am using Charles Proxy to monitor HTTP requests during the development of 
my application. I have recently switched from using HttpClient to 
HttpUrlConnection and I have noticed something weird with Charles.

After issuing a few requests in a row (say something like 30), I will see a 
request that I haven't sent myself go through Charles. It uses the CONNECT 
http method and here is the RAW request sent :

CONNECT <my_host>:443 HTTP/1.1
Host: <my_host>
User-Agent: Mozilla/5.0 (Linux; U; Android 4.2.2; fr-fr; Galaxy Nexus 
Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/534.30
Proxy-Connection: Keep-Alive

But as the method <my_host> isn't valid, I have 501 error. I don't 
understand why this request is sent. If I disable keep-alive, it will never 
occur. Note : All my calls are made on https.

Any idea of what this request is ? Thanks

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to