alibaba / alibaba/anyproxy

AnyProxy 无法解析请求方法为 VIEW 的请求

Open
#546 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

```
$ curl --proxy http://127.0.0.1:8001 \
-H ':method: VIEW' \
-H 'content-type: application/json' \
--data-binary '{"pin" : 8213,"id" : "0911D5D6-6354-21F7-9E0A-XXXXXXXXXXXX"}' \
-X VIEW \
'https://api.some.app.io/trial'
```
经过测试, anyproxy 无法解析请求方法为 VIEW 的请求,在 Charles 和 mitmproxy 可以正常解析。
并且遇到 VIEW 的请求, beforeSendRequest 都不会触发。

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the VIEW request with the provided curl command and trace how AnyProxy handles it before beforeSendRequest. Compare the request-method parsing path with the expected proxy flow; done means VIEW requests are parsed successfully and beforeSendRequest is triggered.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.