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

Remove Content-Type from Curl GET Request #52

Merged
merged 1 commit into from May 22, 2016

Conversation

johannesx75
Copy link
Contributor

Of course, the curl problem with content-type headers fixed in #51 also affects get requests.

Solr 5.1 does not like Content-Types on GET requests.
The Curl HttpTransport reuses the curl instance if you send multiple requests to Solr. This leads to an error if you send a post request, which sets the Content-Type Header and then send a GET request like search.

Solr 5.1 does not like Content-Types on GET requests.
The Curl HttpTransport reuses the curl instance if you send multiple requests to Solr. This leads to an error if you send a post request, which sets the Content-Type Header and then send a GET request like search.
@nyeholt nyeholt merged commit 0e42a57 into nyeholt:master May 22, 2016
@johannesx75 johannesx75 deleted the patch-4 branch May 22, 2016 12:58
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