Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (titanium.network.httpclient)
Viewing all articles
Browse latest Browse all 13

xhr.getResponseHeader WWW-Authenticate not returned on the iphone

$
0
0

Building a digest auth application and on android, the call to xhr.getResponseHeader('WWW-Authenticate') returns the header correctly. On the iphone, the header is empty.

Seems that titanium is not returning this value for the iphone

example:

var xhr = Titanium.Network.createHTTPClient(); ... xhr.onerror = function() { if (this.status == 401) { var header = xhr.getResponseHeader('WWW-Authenticate'); } } ...


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>