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-23339] Fixed Android http client setting content type on all http verbs #7993

Merged
merged 1 commit into from May 9, 2016

Conversation

rlustemberg
Copy link
Contributor

@rlustemberg rlustemberg commented May 6, 2016

JIRA: https://jira.appcelerator.org/browse/TIMOB-23339

This is a bug found when attempting to connect to a backend running Hunchentoot (Clisp web server), and the CLisp web framework Lucerne.
Most other application servers I have experience with wouldn't mind, but this server expects to parse a request body when the Content Type is set. The Android http client, contrary to the iOS one, sets the content type not only on Post/Put/Patch as per the documentation, but actually on all http verbs (GET and DELETE too, which is contrary to the RFC, as far as I know)

@ashcoding
Copy link
Contributor

Code reviewed and it looks good. Will be testing it out.

@ashcoding
Copy link
Contributor

Also, have you signed the CLA? If not, could you sign it before we can merge the code?
https://cla.appcelerator.com/

@ashcoding
Copy link
Contributor

Tested and everything looks code.
This can be merged once CLA is completed. @rlustemberg

@rlustemberg
Copy link
Contributor Author

Hi @ashcoding. I've already signed the CLA. Do you need me to send the pdf to you?
Cheers
Richard

@ashcoding
Copy link
Contributor

Nope that's fine. :)

@ashcoding
Copy link
Contributor

Code reviewed and functionally tested.
Approved

@ashcoding ashcoding merged commit 50dec34 into tidev:master May 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants