Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

207
Views
¿Cómo forzar la renderización de un PDF sin descargarlo?

Cuando uso <iframe src="some_pdf_file.pdf/> en un PDF que tiene el encabezado Content-Disposition configurado para attachment el iframe decide descargar el archivo en lugar de renderizarlo. Este es un comportamiento razonable, sin embargo, quiero forzar el PDF para ser renderizado en el iframe .

¿Cómo puedo hacer esto? ¿Es posible descargar el archivo y luego cambiar el encabezado Content-Disposition a inline ?

 <object data='https://pdfjs-express.s3-us-west-2.amazonaws.com/docs/choosing-a-pdf-viewer.pdf' type="application/pdf" width="500" height="678" > <iframe src='https://pdfjs-express.s3-us-west-2.amazonaws.com/docs/choosing-a-pdf-viewer.pdf' width="500" height="678" > <p>This browser does not support PDF!</p> </iframe> </object>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!