bytespider / jsOAuth

JavaScript implimentation of the OAuth protocol. Currently supports version 1.0 (RFC5849) of the specification. Node.js & CommonJS compatible.
http://bytespider.github.com/jsOAuth/
MIT License
557 stars 109 forks source link

Version 0.7.5.2, using post in Titanium #8

Closed ghost closed 13 years ago

ghost commented 13 years ago

Hi, just found another. With the newest version it is impossible to make a post in Titanium. It changes ready state from 0 to 1 and then stops, error on console is: "Invalid arguments passed for: setRequestHeader(String, String)"

Regards jume

bytespider commented 13 years ago

Jume,

I'm assuming this is a content-length header issue. Is the example code the same as your previous issue, issue7?

ghost commented 13 years ago

yep it is, i thought about using newest version before posting the previous issue, and by then i noticed this new error. But it just happens in Titanium, in firefox it is all fine.

bytespider commented 13 years ago

Okay, Worked for me now. Could you test with this demo version http://cl.ly/4OmJ

ghost commented 13 years ago

y, worked for me too now.