title: Magento connect manager error "Unsupported resource type" when uploading *.tgz package
body: <p>We developed a magento extension and it seems to be working just fine but suddenly a couple of customers contacted us stating that they get an error when trying to install our extension by uploading *.tgz package through magento connect manager.</p>
  
  <p>The error in the console says: <code>CONNECT ERROR: Unsupported resource type</code></p>
  
  <p>I think this might be somehow related to archiving/dearchiving process but I'm not quite sure.</p>
  
  <p>Any ideas what might be causing this?</p>
  
  <p>They also said that other extensions installed fine. As well as our extension installed fine to many others.</p>
  
  <p>Thank you</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>After more customers complained about this I tried some more cases out. It looks like the package was somehow corrupted. I would find everything the way it should be after extracting the package manually but the magento connect manager couldn't somehow detect headers in the archive file.</p>
  
  <p>I solved it by repackaging same files once again using another magento copy but why this is happening stays unclear.</p>