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
Look at response headers to determine file name on "Send and Download" #2082
Comments
This is fixed as part of the new Postman Runtime project. Details on our blog: http://blog.getpostman.com/2016/06/14/introducing-postman-runtime-more-power-better-control/ |
I think doesn't work. Http Headers include: |
I'm seeing the same thing in the Windows app. Current version is 4.8.1. |
@madebysid 👍 thanks! |
Jaldi karo be... Yahan client se halat kharab h. Alok b gussa re h. |
Just discovered this, it would be nice if Postman respected filename content-disposition header. I'm glad you all are working on this and look forward to the fruits of your labor. Thanks! |
It's still actual for v4.9.2 :( |
Same problem here!. Version 4.9.2. |
I m on 4.10.2 and still get the same result response.pdf.pdf |
try send and download. |
Update on issue: running Postman for Chrome performing a 'Send and Download' Result is still saving the file as "response.pdf" and not "another file name.pdf" |
Postman for Chrome Same problem still exists! |
bump just ran into this myself :) |
Just want to "up" this issue Access-Control-Allow-Headers →Origin, X-Requested-With, Content-Type, Accept Result is still saving the file as "response.pdf" and not "another file yearly_data_user.csv" |
Request Headers: IHDR�.��T"�Z pHYs�����g��R�tEXtSoftwareBarcode4J��v. �IDATx���W��K������s�9��� 3fE|SQ�I�,("f�9��s�( |
Bump. I'm seeing this in Postman for Windows 5.2. The filename is there in the Content-Disposition but Postman always wants to save the file as "download.pdf". That's when I use the API that returns a download link. When I use the API the returns the in-line content stream it wants to use "response.pdf", but that API call isn't returning Content-Disposition filename, so I can't blame Postman there. (FYI, I'm using the Alfresco Document Management REST API to return files.) |
Bump. Content-Disposition →attachment; filename="advice-0542961c-c82d-408a-9934-1a020c098dc5.sheba" Result is still saving the file as "response.xml" and not "advice-0542961c-c82d-408a-9934-1a020c098dc5.sheba" I'm running version 5.3.0 on OSX 10.11.6 Any update on when this might be addressed? Thanks |
Same here: Postman stand alone, 5.3.0. Cache-Control →no-cache, private When I "save & download", Postman saves response.bin |
Would be nice to have for my use case, like testing a REST download API. Postman stand alone 5.3.2 Method: POST Response headers: Content-Disposition →attachment; filename="test-pubblica-2.pdf" Postman saves a generic "response.pdf" |
I would also like this feature. It appears that Postman heeds the content-type header to determine the file name extension ("content-type:application/zip" produces response.zip) but ignores the content-disposition header filename property and makes the start of the file name always "response". |
Just hit this myself, would be great to see this added. |
Any update on this implementation? Currently using the latest version (5.5.0) and postman doesn't respect the filename defined in the header. |
Postman v5.5.0 is still NOT extracting the correct filename from Header with name "Content-Disposition". Hey guys, imho it's easy to fix this issue. Please give it a greater priority. Thank you. Kind regards esodot |
please also for response of type "application/octet-stream", where current response is being saved to "response.bin" file. Thank you |
Still waiting for this feature. even after 1,5 Years |
Any update on this? It's a disconcerting issue to have after 1.5 years. If you don't have the time, any pointers on where to start looking to perhaps submit a PR? |
I'd like to make the same offer as @kyleobrien91 . I'd love to see this fixed, and would be proud to contribute a fix if you could provide the starting guidance? |
same here: response.bin instead of xlsx. |
6.1.4 I still see the issue, not saving the file in the exact output format, eg My response is abc.lfg but saves as response.zip |
still an issue. glad to see it has been added to the roadmap... only 2 years after the first report |
Still an issue on version 6.2.3, Windows 10 |
Facing the same issue on version 6.2.3, Mac. |
facing same issue on Ubuntu 18.04.1 LTS, amazed that this issue is over two years old |
Same here. Postmen v6.2.5 :( |
Same here |
Same! |
another 2 hours clocked by me. |
Same |
Same! |
Hey, |
Hey Thanks again for writing in and reporting this issue. |
This works for me now (v6.4.2) 😃 . Thanks @sujayvenaik! |
using v6.7.4 and still getting it as Resopnse.pdf. |
Using v7.36.1 and I get random name instead of name in content disposition at the first run. |
We are using latest version of postman v8.0.6 and we are getting filename as '0' while saving it. Thanks! |
Hi, I'm using v10.2.2 , and still the issue is present ( "Send and Download" saves file as "response.xxx", completely ignoring the header |
@sujayvenaik |
I have an endpoint that returns a file with the headers:
Postman opens up a save dialog to save the response as "response.pdf"
It would be nice if Postman would default to save the file under the filename provided in the header (eg. "filename.pdf")
The text was updated successfully, but these errors were encountered: