0

I work in on openerp when print report I want to make it open inside chrome instead download them. In version 5 I can do that.

Here is the detail of request and response

Version 5. This is request and response can open pdf inside chrome Request in Version 5 It can open in chrome instead download them

In version 7 it request to download Version 7 request to download

Can you give me advice to do that? Thank for support.

chanhle
  • 168
  • 5
  • 15
  • 1
    The key difference here is [the `Content-Disposition` response header.](http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses) – Matt Ball Oct 02 '13 at 04:08
  • but I change it to "Content-Disposition:filename="Analytic Check.pdf"" appear error like that "Resource interpreted as Document but transferred with MIME type application/pdf" – chanhle Oct 02 '13 at 04:17
  • Change it to [`Content-Disposition: inline`](http://stackoverflow.com/q/1395151/139010). – Matt Ball Oct 02 '13 at 12:22

0 Answers0