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

AJAX data behavior and accept header http #136

Open
Kikobeats opened this issue Nov 5, 2014 · 0 comments
Open

AJAX data behavior and accept header http #136

Kikobeats opened this issue Nov 5, 2014 · 0 comments

Comments

@Kikobeats
Copy link
Contributor

Hello!

I experimented with QuoJS and jQuery with the same client and server environment. Server use express 3.x and I found outstanding different in the way that jQuery and QuoJS send the data.

Ajax settings:

dataType    : "json"
contentType : "application/x-www-form-urlencoded"

results sending an object in the request:

Another difference is the headers. Both use the most typical headers but jQuery added two headers more:

QuoJS

jQuery

I do not think the two issues are related.
Maybe need more tests for try to determinate if is a bug or a isolated case.

Relationated with #75

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

No branches or pull requests

1 participant