Application Octet Stream Pdf
Posted By admin On 25/04/19Join GitHub today
File Extensions Associated with application/octet-stream MIME: PKG file extension (3D Image Files). Automise ActionStudio Action Design (VSoft Technologies Pty Ltd.).
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHave 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
Comments
commented Feb 23, 2018
Demonstration API definitionCase 1: Case 2: Configuration (browser query string, constructor, config.yaml)Case1: Case2: Expected BehaviorIt should either display the PDF content in the browser or it should provide link to download the file. Current BehaviorCase 1: Case 2: Possible SolutionContextWriting an api to download the PDF content |
commented Feb 23, 2018
You haven't specified which version of swagger-ui. Also, in this case, without a live server for us to test against, it would be difficult to reproduce. |
commented Feb 27, 2018
@balaji-tech87 your example works fine for me using Swagger UI 3.11.0 and PDFs on GitHub. The response section displays the 'Download file' link. The issue is likely with your server. |
commented Feb 27, 2018
Hi @balaji-tech87! I ran @hkosova's example through a web proxy that modified GitHub's
Swagger-UI does not support inline viewing of PDFs, nor do I expect it to do so in the future. PDF rendering is not easy to do consistently in a web application, and even then it requires heavy libraries. Swagger-UI does allow for file downloading, as you know - however you'd need to either send Learn more about |
commented Feb 28, 2018
Hi Team, Suggestions: |
commented Mar 1, 2018
Thanks. Closing the ticket. I will raise new ticket, if any further clarification required. Thanks for your support. |
referenced this issue Feb 25, 2019
Closed5.0.0-beta Download File does not work #1034
Hello everyone and congratulations for the useful plugin!
I have an issue with the download of a pdf file.
I did several tests, I finally summed up in test3.html file contained in the archive that I have submitted, in attachment (I know it is not very good... I packed the entire test environment, in a file archive, so after this, I changed its name to get it accepted by the site. So you must save it locally and then rename it as zip file! in the extracted dir, you will find all I have used in the test.).
PS. in the fileDownload.js file, I changed the return error function, so to obtain more useful information about the error... but so far still have not managed to solve the problem.
My enviroment is Windows XP (SP3), IE8, FF22, Chrome rel 35.0.1916.114 m.
I tried also the jQuery 1.10.2 (in the dir).
Thank you for your valuable help. If I find a solution before your reply, I'll let you know. Again, thank you.
R.A.
Save and rename to .zip.
SHA1: 1e081701ffb2a8d07eaf9c387514277ec1a5fd4f
MD5: f6fd3fb728c49af918c12ee6a21bf631