viezel / napp.alloy.adapter.restapi

RestAPI Sync Adapter for Titanium Alloy Framework
197 stars 102 forks source link

Header has to set before call xhr open #67

Closed MichelBahl closed 9 years ago

MichelBahl commented 9 years ago

Headers (line 90-94)
Has to be moved before call "xhr.open" otherwise these settings get ignored.

I suggest to move these lines right after the xhr object have been return from "createHTTPClient"

viezel commented 9 years ago

cheers. fixed in 1.1.9