[AC-1802] Titanium.setUserAgent is not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2013-03-08T16:52:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | userAgent |
Reporter | Thierry Godfroid |
Assignee | Mostafizur Rahman |
Created | 2013-02-19T13:41:41.000+0000 |
Updated | 2016-03-08T07:40:42.000+0000 |
Description
According to the doc the property Titanium.userAgent is not readonly and there is even a Titanium.setUserAgent().
It just does not work and, frankly, reading the code at iphone/Classes/TopTiModule.m:40, one hardly knows how it could be anything else. I haven't been able to find the setUserAgent() method in source, not familiar enough with it.
I know that I can override the useragent with a setRequestHeader in HttpClient but I would like also to use it for auto downloads of images throught URLs.
Hello, just got notified that this one was fixed which is great. Any idea in which release it will actually be delivered. I see no commit message or such. Thanks for your help Regards, Thierry