通过代理强制HTTP1.1而不是HTTP2(Charles) [英] Force HTTP1.1 instead of HTTP2 through Proxy (Charles)

查看:2021
本文介绍了通过代理强制HTTP1.1而不是HTTP2(Charles)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我们将客户端更新为HTTP2,因此我遇到了将文件映射到本地资源的问题。我们通常使用Charles(App)执行此操作,但由于我们更新为HTTP2,因此我们遇到了一些错误。

Since we updated our clients to HTTP2, I've had problems with mapping files to local resources. We normally use Charles (App) to do this, but since we updated to HTTP2, we've had some errors.

它似乎缩短了文件并且只加载文件的一小部分。然后Charles给出了一条失败消息说:
客户端在收到整个回复之前已关闭连接

It seems to cut the files short and only load a tiny part of the files. Charles then gives a Failure message back saying: Client closed connection before receiving entire response

I我一直在寻找大型的互联网寻找答案,但还没有找到任何答案。

I've been looking through the big interwebs for answers, but haven't been able to find any yet.

希望这里有一些聪明的头脑。

Hopefully there's some brilliant minds in here.

推荐答案

我们有在Charles 4.1.2b2中解决了这个问题。请从 https://www.charlesproxy.com/download/beta/ 进行试用

We have addressed this issue in Charles 4.1.2b2. Please try it out from https://www.charlesproxy.com/download/beta/

请告诉我这是否能解决您的问题!我们计划很快推出这个版本,特别是一旦我们有更多的用户确认解决方案。

Please let me know if this does or doesn't correct the issue for you! We plan to roll out this build to release pretty soon, especially once we've had more users confirm the solution.

这篇关于通过代理强制HTTP1.1而不是HTTP2(Charles)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆