# httproxy **Repository Path**: minuteman/httproxy ## Basic Information - **Project Name**: httproxy - **Description**: 简单HTTP反向代理,修改请求应答内容 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-03-31 - **Last Updated**: 2025-04-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # httproxy #### 介绍 简单HTTP反向代理,修改请求应答内容 用法:./httproxy [参数...] -debug int 输出debug信息 (default 2) -delim string 流模式chunk分隔符 (default "\n\n") -listen string 本地HTTP侦听端口 (e.g., :8080) (default ":8080") -req-body value 请求体替换规则 (pattern::replacement) -req-header value 请求头替换规则 (key:pattern:replacement) -resp-body value 应答体替换规则 (pattern::replacement) -resp-header value 应答头替换规则 (key::pattern::replacement) -target string 反向代理目标 (e.g., https://wishub-x1.ctyun.cn) ./httproxy -listen :8081 -target https://wishub-x1.ctyun.cn/compatible-mode/ -req-body "\"stream\":?true::\"stream\": false" -resp-body "\"message\"::\"delta\"" ./httproxy -listen :8081 -target https://wishub-x1.ctyun.cn/compatible-mode/ -resp-body "data:{::data: {"