Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features: session, curl generator, unit test, examples ... #27

Open
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

ahuigo
Copy link

@ahuigo ahuigo commented Jan 28, 2022

重构并新增features:

  1. 支持session(cookie会话保持)
  2. debug模式支持输出curl
  3. 单元测试(基于examples)
  4. 完整的examples
  5. request 生成器
  6. 支持plain/url-encoded/form-data/json/multiple-file 请求体
  7. 支持http global header
  8. 支持put/patch/delete 等方法

@meoww-bot
Copy link

你好,能考虑下实现“关闭 SSL 校验”的功能吗,我自己实现了个,能用,#28 ,但是感觉不是很优雅

@ahuigo
Copy link
Author

ahuigo commented Feb 14, 2023

你好,能考虑下实现“关闭 SSL 校验”的功能吗,我自己实现了个,能用,#28 ,但是感觉不是很优雅

@meoww-bot https://github.com/ahuigo/requests/blob/ee0f4e35be9f71757713a8cda6dabf28305c44cf/examples/ssl_test.go#L20

@meoww-bot
Copy link

谢谢,我学习一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants