Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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...



Please Log in or Create an account to join the conversation.

Last edit: by admin.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

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 following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
When you download generated component you mean...

Ok, I check this.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Is it better now ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

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

That's all OK.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.065 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started