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

Fix #2532594. Save objectified data to config if initially a string. #243

Closed
wants to merge 2 commits into from

Conversation

apipkin
Copy link
Contributor

@apipkin apipkin commented Sep 7, 2012

mention @ericf

@@ -642,6 +642,7 @@ IO.prototype = {
// querystring-stringify-simple.
if ((Y.Lang.isObject(data) && !data.nodeType) && !transaction.upload) {
data = Y.QueryString.stringify(data);
config.data = data;
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be config.body = data? To match what it does in Node.js?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The ticket was talking about config.data not remaining an object after the initial transport. Unless I read it wrong.

@ericf
Copy link
Member

ericf commented Sep 17, 2012

These need tests, docs, and change history. They will be dealt with post 3.7.0.

@jenny jenny mentioned this pull request Jan 3, 2013
@ericf
Copy link
Member

ericf commented Jan 11, 2013

This is trumped by #383

@ericf ericf closed this Jan 11, 2013
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.

2 participants