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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started