Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Wrong mime type for download

[FIXED] Wrong mime type for download 02 Sep 2012 09:44 #3354

  • e-struct
  • e-struct's Avatar
  • Offline
  • Senior Member
  • Posts: 76
  • Thank you received: 4
  • Karma: 5
Using Linux when I download the project file it is of type "tar.gz"
(I don't know why but it seems this recently change.. before was just zip file).
But it seems that the MIME type of the file is not correctly set by Cook.
Please set the mime data for tar.gz to

"application/x-gzip"
or even
application/x-tar
will work...



Last Edit: 14 Sep 2012 17:10 by admin.
The administrator has disabled public write access.

Re: Wrong mime type for linux based platforms download 04 Sep 2012 05:36 #3368

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Strange.

application/x-gzip is used for the moment.

Can you tell me wich MIME is returned ?
Maybe the both are required in the component ?

Oh yeah, of course. I must try but really now I am busy, I try to have a look at least to fix it in V2.0

TODO :
In your model, where the attempted MIME/EXT are setted, try to add : application/x-tar
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Wrong mime type for linux based platforms download 04 Sep 2012 16:28 #3378

  • e-struct
  • e-struct's Avatar
  • Offline
  • Senior Member
  • Posts: 76
  • Thank you received: 4
  • Karma: 5
I am sorry but I did not catch you... what do you mean by "in your model..."
Do you mean it's up to the jcook user to define this mime type ?
There is no place (as far as I know) to define this...
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Re: Wrong mime type for linux based platforms download 14 Sep 2012 15:01 #3635

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
When you download generated component you mean...

Ok, I check this.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Wrong mime type for linux based platforms download 14 Sep 2012 15:04 #3636

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Is it better now ?
Coding is now a piece of cake
The administrator has disabled public write access.

[SOLVED] Re: Wrong mime type for linux... 14 Sep 2012 17:09 #3641

  • e-struct
  • e-struct's Avatar
  • Offline
  • Senior Member
  • Posts: 76
  • Thank you received: 4
  • Karma: 5
That's all OK.
The administrator has disabled public write access.
Time to create page: 0.094 seconds

Get Started