I had raised this problem in zaproxy-develop group and have been advised to move to zaproxy-users.
While proxying Android device with ZAP initially all requests go with HTTP/1.1.
Disabling HTTP/1.1 in ZAP ALPN settings leads to using HTTP/2. But I need both protocol versions.
It seems that something is not completely right on the ZAP's side.
Google Chrome on Android, wifi and proxying through ZAP.
The same scenario works just fine with Charles proxy - it correctly identifies when to use HTTP/2 and when HTTP/1.1.
However working through ZAP somehow affects client to choose HTTP/1.1 over HTTP/2 even though HTTP/2 is available.
I need to proxy usage of mobile app on Android.
There is also a problem with SSE addon - it just doesn't work. And I hoped that with HTTP/2 SSE would work correctly, but even when I expicitly disabled HTTP/1.1 SSE still didn't work.
Could you check:
- ALPN?
- SSE?
If you have examples of correct proxying through ZAP of Android app with both http/1.1 and http/2 - please share. I would also appreciate example with SSE.
Looking forward to your reply.
Kind Regards,
Andrey