delete请求传body数据 有兼容问题
- Dominant language
- JavaScript
- Stars
- 7.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
#### Which platform are you running AnyProxy
Mac
#### The version of the AnyProxy
4.1.0
#### Your expected behavior of AnyProxy
delete请求传body数据,正常
#### The actual behavior of AnyProxy
代理服务器没有接受到body数据
#### 相关链接
希望对delete存在body的时候,在fetchRemoteResponse方法中兼容。
设置Response.headers里面的content-length
https://stackoverflow.com/questions/35589109/node-http-delete-request-no-longer-works-after-upgrading-from-0-10-40
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the fetchRemoteResponse method named in the issue and reproduce a DELETE request with a body on AnyProxy 4.1.0. Inspect how the response headers are populated, especially content-length. Done means the proxy receives the DELETE body and the relevant response header is set correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100