-
Notifications
You must be signed in to change notification settings - Fork 172
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
Serve PDFs with correct Mime Type / Content Type #231
Comments
That depends on which content types you need to support. Do you have a list?
Also, I see you are mixing 3.X and 4.X versions - that's a really bad idea
- I would suggest upgrading to the latest prerelease quickly.
Kind regards,
Nat Jones
…On Mon, Mar 5, 2018 at 12:12 PM, srg-avai ***@***.***> wrote:
Hi - Is it possible to have imageresizing.net library serve non image
files with the original content type?
I found this https://stackoverflow.com/questions/30273451/cache-xml-
files-without-application-octet-stream-type/30309550#30309550
(but we have disk caching disabled so I dont know if applies here)
If it makes any difference we're using s3reader2 plugin
Here is the relevant packages.config:
<package id="ImageResizer.Plugins.AnimatedGifs" version="3.4.3" targetFramework="net40" />
<package id="ImageResizer.Plugins.DiskCache" version="3.4.3" targetFramework="net40" />
<package id="ImageResizer.Plugins.Logging" version="3.4.3" targetFramework="net40" />
<package id="ImageResizer.Plugins.PrettyGifs" version="3.4.3" targetFramework="net40" />
<package id="ImageResizer.Plugins.S3Reader2" version="4.2.0" targetFramework="net45" />
<package id="ImageResizer.Storage" version="4.2.0" targetFramework="net45" />```
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#231>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGln2BpG4fSZAt9I06iu8RwNglyWp5kks5tbY3IgaJpZM4Sc8BL>
.
|
@nathanaeljones you're right, i had partially updated in a rush. my bad! re content types - right now, just need application/pdf |
Hi - Any update on supporting application/pdf content type? |
lilith
changed the title
Mime Type / Content Type
Serve PDFs with correct Mime Type / Content Type
Jul 31, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi - Is it possible to have imageresizing.net library serve non image files with the original content type?
I found this https://stackoverflow.com/questions/30273451/cache-xml-files-without-application-octet-stream-type/30309550#30309550
(but we have disk caching disabled so I dont know if applies here)
If it makes any difference we're using s3reader2 plugin
Here is the relevant packages.config:
The text was updated successfully, but these errors were encountered: