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

在请求返回204无数据之后,接着执行其他有数据的请求依然返回无数据 #11

Open
LIZUXUN opened this issue Oct 14, 2022 · 3 comments

Comments

@LIZUXUN
Copy link

LIZUXUN commented Oct 14, 2022

前提:
执行了一次返回204的请求之后,Response区显示无返回数据(正常)
bug:
之后执行任意有返回数据的请求均无法显示返回数据
通过程序自带历史记录里面切换回有返回数据的请求之后恢复正常

版本: 1.5.4

@WhiteCosmos
Copy link
Owner

尝试了以下几种情况

#1

  1. 执行 http://httpbin.org/status/204 返回204
  2. 执行其它请求,可以正常显示返回数据

#2

  1. 执行 http://httpbin.org/status/204 返回204
  2. 新建一个请求,可以正常显示返回数据

#3

  1. 执行 http://httpbin.org/status/204 返回204
  2. 把该请求改为 http://httpbin.org/get,可以正常显示返回数据

这几种情况试了之后都正常,有没有可能是其它原因导致的?

@LIZUXUN
Copy link
Author

LIZUXUN commented Oct 15, 2022

我重新复现了下,在GET请求带数据的时候会显示无返回数据,删掉之后显示正常了(同样携带数据执行GET请求,POSTMAN以及PAW均正常,测试接口为个人开发接口)

但是携带数据GET请求http://httpbin.org正常
目前也不知道是什么原因导致

@WhiteCosmos
Copy link
Owner

我重新复现了下,在GET请求带数据的时候会显示无返回数据,删掉之后显示正常了(同样携带数据执行GET请求,POSTMAN以及PAW均正常,测试接口为个人开发接口)

但是携带数据GET请求http://httpbin.org正常 目前也不知道是什么原因导致

试了一下paw echo和postman echo,Get携带请求数据包括json, form, multipart的情况,都可以正常返回。新版本可以在请求信息中查看原始报文内容,看一下Gotcha发送的请求内容和Paw发送的是否有不一致的地方呢?

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

No branches or pull requests

2 participants