Kinda Juce related questions.
I’m trying to access an URL which require a login/password.
I know that you can write the url like that but it looks like this doesn’t work in Juce (on Window at least)
might be related to IE forbidden this. (http://support.microsoft.com/kb/834489)
I checked on google and it seems possible to put that kind of info in the header so I tried to do this in Juce as well
juce::URL url("https://www.bobo.com"); juce::String str(bob:toto); juce::MemoryBlock block(str.toUTF8().getAddress(), str.getNumBytesAsUTF8()); juce::String headers = "Authorization: Basic " + block.toBase64Encoding(); juce::InputStream *pIStream = url.createInputStream(false, 0, 0, headers, 0, 0);
This doesn’t work either.
Am I missing something ?