desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Feature] Allow for response > 15MB to be viewed or at least save body to disk

Open ScottRFrost opened this issue 2 years ago • 2 comments

What happened?

If you get a reply larger than 15MB, the response window displays: <preview unavailable: response has exceeded 15000000 bytes limit>

If you attempt to use Save Body... in the bottom, it just saves the text "<preview unavailable: ..."

Please allow for unlimited size in the response window (perhaps behind a configuration flag) or at least allow saving the body. To work around, I had to copy a Invoke-WebRequest to my console and run my whole (rather expensive in CPU) query again.

Steps to reproduce?

1. GET something that returns more than 15,000,000 bytes

What did you expect to happen?

I expected to be able to view the response. My computer has 32GB of RAM, so it shouldn't be a problem.

Platform

Windows

HTTPie Desktop version

2023.3.4

Relevant log output

<preview unavailable: response has exceeded 15000000 bytes limit>

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ScottRFrost avatar Aug 23 '23 22:08 ScottRFrost

@ScottRFrost thanks for the feedback — we’ll look into it

jkbrzt avatar Aug 24 '23 13:08 jkbrzt