Error when creating http request. GET request with custom headers is not supported.

Hi,

I'm trying to use Twitter API and there are some situations where I need to perform http "GET" operation with custom headers but when I do it with WWW class, it returns the error message.

You are trying to load data from a www stream which had the following error when downloading. Error when creating request. GET request with custom headers is not supported.

Does anyone know why WWW doesn't support custom headers for GET request? Could Unity please fix this problem?

Thanks in advance!

It is simply not supported. This might help you, however. A WWW Alternative

Unity 4.3 (just checked) now supports custom headers using GET

WWW w = new WWW(url,null,headers);

where headers is a hashtable of headers

In 4.3, WWW constructor for WP8 or Windows Store doesn’t support Hastables.