Postcatlab / Postcatlab/postcat

【BUG】POST请求被重定向后,会丢失请求体

Open
#442 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.5k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

假设向网站`www.test.example`发送一个请求,携带body,且此网站设置了重定向到https。
请求地址`www.test.example`,网站收到的请求是没有请求体的
请求地址`https://www.test.example`,可以正常收到请求体且响应

### Environment

- Postcat:V0.5.1
- OS:win11 desktop & web

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Postcat V0.5.1 on the desktop or web app by sending a POST request with a body to a URL that redirects to HTTPS. Start by locating the request and redirect-handling entry point; done means the redirected request preserves the body and receives the expected response.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.