当前位置:网站首页>WARNING: Unsupported upgrade request.
WARNING: Unsupported upgrade request.
2022-06-25 17:28:00 【jaffe—fly】
use fastapi I wrote an interface , then java send out post request ,fastapi The interface of always reports this error , and java The client also does not receive the return message 
google For a long time , The most popular thing is that you need to reinstall uvicorn
But this does not solve the problem in my project
The final discovery is java Use http2 Requested , and fastapi With uvicorn start-up ,Uvicorn currently only supports HTTP/1.1 and WebSockets
At the moment , There are two ways to solve
Method 1 :fastapi The interface of is upgraded to http2
Method 2 :java Appoint http edition 
边栏推荐
猜你喜欢

软考中级和高级选哪个比较好?

Vscode plug-in self use

Kotlin

【Matlab】数值微积分与方程求解

Langage d'assemblage (5) Registre (accès à la mémoire)

Are these old system codes written by pigs?

【黑苹果】联想拯救者Y70002019PG0

Distinguishing seven kinds of facial expressions by deep separable convolution neural network

WARNING: Unsupported upgrade request.

【Matlab】数据插值
随机推荐
[UVM practice== > episode_1] ~ MCDF design update, AMBA standard interface, UVM verification environment update
内卷?泡沫?变革?十个问题直击“元宇宙”核心困惑丨《问Ta-王雷元宇宙时间》精华实录...
TCP聊天+传输文件服务器服务器套接字v2.8 - 修复已知程序4个问题
js禁止浏览器默认事件
Singleton mode application
N皇后问题
mood
"Podcast with relish" 386 Yuan Tang Hua Yuan Shi: who is not a "Mr. White character"?
2021年5月云南省网络空间安全比赛赛题复盘
Snakeyaml profile parser
数学建模——整数规划
Redis series - overview day1-1
tasklet api使用
相同wifi下,笔记本连接台式机上的虚拟机
远程终端控制神器——MobaXterm
Sword finger offer II 035 Minimum time difference
[micro service sentinel] overview of flow control rules | detailed explanation of flow control mode for source | < direct link >
IDEA全局搜索汉字[通俗易懂]
【Matlab】数值微积分与方程求解
计网 | 形象理解路由协议RIP、OSPF、BGP