Ticket #556 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

print-lib should support application/pdf as mime-type for WMS requests

Reported by: ahocevar Owned by: jeichar
Priority: major Milestone:
Component: print Version: SVN
Keywords: Cc:
State: Commit

Description

Currently, only application/x-pdf is accepted, which is ok for the Map Server Map Reader?. But not all WMS implementations support that mime-type. According to http://www.rfc-editor.org/rfc/rfc3778.txt, application-pdf is also a valid mime type for pdf.

The attached patch adds support for this mime-type to the WMSMapReader.

Attachments

mapfish-556.patch (0.7 kB) - added by ahocevar 2 years ago.

Change History

Changed 2 years ago by ahocevar

Changed 2 years ago by bbinet

  • state changed from Review to Commit

Looks good to me

Changed 2 years ago by bbinet

  • status changed from new to closed
  • resolution set to fixed

(In [3374]) print-lib should support application/pdf as mime-type for WMS requests, p=ahocevar, r=me, (closes #556)

Note: See TracTickets for help on using tickets.