write response to file #890
Replies: 4 comments 9 replies
-
There is vscode setting, which control response size, above that limit, it will hide the response and show save to file You can also save any response to file |
Beta Was this translation helpful? Give feedback.
-
I added more size options in |
Beta Was this translation helpful? Give feedback.
-
I tested now the first download with a smaller file, which comes not near that that Response Limit. At first, it seems the data is correct, but to verify that, I want to compare it with the origin file. I tried to use |
Beta Was this translation helpful? Give feedback.
-
I tested now the download of a larger binary file (~1Gi), but now the request stuck in a processing state. On my Resource monitor I can see the download activity, but after that ends nothing happen (sill processing, also after 30 min). The header which I send via uvicorn is: {'Accept-Ranges': 'bytes', 'Content-Length': '1241985027', 'Content-Security-Policy': 'block-all-mixed-content', 'Content-Type': 'application/octet-stream', 'ETag': '"3c22ffe6ee8c8d5c364eca47238804f5-75"', 'Last-Modified': 'Wed, 23 Nov 2022 20:28:02 GMT', 'No-Gzip-Compression': 'true', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Vary': 'Origin, Accept-Encoding', 'X-Amz-Request-Id': '172AC89C2E590B1E', 'X-Content-Type-Options': 'nosniff', 'X-Xss-Protection': '1; mode=block', 'Date': 'Fri, 25 Nov 2022 09:06:25 GMT'} The download with curl and the "--output" parameter works without problems. |
Beta Was this translation helpful? Give feedback.
-
I make request against an API which send larger files back, to prevent that everything goes into the response output window. It would be nice to have an Option to save the response body from the request directly to a file.
Beta Was this translation helpful? Give feedback.
All reactions