tanbushi commited on
Commit
bfb2d8e
·
1 Parent(s): c8e2a82
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -56,6 +56,7 @@ async def health_check():
56
  # @app.api_route("/v1/{protocol}/{host}/{path:path}", methods=["POST"])
57
  async def proxy(request: Request, protocol: ProtocolType, host:str, path: str, proxy_api_key: str = Depends(verify_proxy_api_key)): # 添加代理认证依赖
58
  send_req = await make_send_req(request, protocol, host, path)
 
59
 
60
  # 使用httpx异步客户端发起请求
61
  async with httpx.AsyncClient() as client:
 
56
  # @app.api_route("/v1/{protocol}/{host}/{path:path}", methods=["POST"])
57
  async def proxy(request: Request, protocol: ProtocolType, host:str, path: str, proxy_api_key: str = Depends(verify_proxy_api_key)): # 添加代理认证依赖
58
  send_req = await make_send_req(request, protocol, host, path)
59
+ print(send_req.get('headers'))
60
 
61
  # 使用httpx异步客户端发起请求
62
  async with httpx.AsyncClient() as client: