reqable / reqable/reqable-app

[feature] "复制cURL"的功能改进建议

Open
#132 4 comments 0 reactions 1 assignee View on GitHub

@MegatronKing is already working on this.

Since Jul 26, 2023.

enhancement p3 suspend
Dominant language
No language data
Stars
6.8k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

支持完整现场的curl复制

image 也就是这个复制的应该是如下
# 该方案只支持http情况
curl -X GET http://124.70.129.64 -H 'Host: cip.cc' -H 'User-Agent: curl/8.1.2' -H 'Accept: */*' -H 'Proxy-Connection: Keep-Alive'
# 该方案https也可以
curl -X GET http://cip.cc \
    -H 'User-Agent: curl/8.1.2' -H 'Accept: */*' -H 'Proxy-Connection: Keep-Alive' \
    --resolve cip.cc:80:124.70.129.64

对比现行方案

curl -X GET http://cip.cc -H 'User-Agent: curl/8.1.2' -H 'Accept: */*' -H 'Proxy-Connection: Keep-Alive'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.