ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.3k stars 123 forks source link

Send and Download: Doesn't read filename from header #132

Closed dtemir closed 5 months ago

dtemir commented 5 months ago

Expected Behavior

When you make a GET request through the Send and Download button:

Screenshot 2024-01-11 at 9 32 34 AM

and the response has a header like this:

Screenshot 2024-01-11 at 9 29 18 AM

it should read the filename.txt correctly and suggest it upon download

image

this behavior is present in postman when you do Send and Download

image

Actual Behavior

instead, it ignores the header filename and MacOS suggests Untitled as default

image

Reproduction Steps

  1. Make a GET request to the endpoint that will return a header key content-disposition
content-disposition: attachment; filename="filename.txt"
  1. Do so through Send and Download

Is there an existing issue for this?

Additional Information

Version: Insomnium 0.2.3 Build date: 10/29/2023 OS: Darwin arm64 22.3.0 Electron: 25.8.1 Node: 18.15.0 Node ABI: 116 V8: 11.4.183.29-electron.0 Architecture: arm64

Insomnium Version

Insomnium 0.2.3

What operating system are you using?

macOS

Operating System Version

13.2.1 (22D68)

Installation method

dmg

Last Known Working Insomnium version

No response