Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-7181] HTTPClient post data must be serialized to a string #1179

Merged
merged 2 commits into from Jan 16, 2012
Merged

[TIMOB-7181] HTTPClient post data must be serialized to a string #1179

merged 2 commits into from Jan 16, 2012

Conversation

cb1kenobi
Copy link
Contributor

No description provided.

@@ -4,6 +4,7 @@ define("Ti/Network/HTTPClient", ["Ti/_/Evented"], function(Evented) {

var undef,
obj = this,
enc = encodeURIComponent,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really necessary? Google closure compiler should shorten the name anyways.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, not it won't encodeURIComponent() is a built-in browser function. It wouldn't optimize it. Frankly, I wouldn't either had the name not been so long.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, didn't realize it was a built-in...makes sense then.

@nebrius
Copy link
Contributor

nebrius commented Jan 16, 2012

Code reviewed and tested. Request accepted.

nebrius added a commit that referenced this pull request Jan 16, 2012
[TIMOB-7181] HTTPClient post data must be serialized to a string
@nebrius nebrius merged commit 099d2e5 into tidev:master Jan 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants