Problem with downloading custom files(custom extension)


I tried creating an input stream from the url to download a custom type file, it didn’t read the entire stream.

 I went through the juce code and realised that in "juce_win32_Network.cpp" the MIME type was "const TCHAR* mimeTypes[] = { _T("*"), 0 };" .

  if this is changed to const TCHAR* mimeTypes[] = { _T("*/*"), 0 }; then input streams can be used to download custom type file, I have tried to download regular files like zip, mov etc. with this new code in, it's working.

I am currently using juce_1_45 am not sure whether this bug persists  in juce_1_46



Yes, that’s been fixed in the tip for quite a long time now.