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

Upgrade httpoison & hackney because of duplicated headers #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jprogramista
Copy link

I have a problem with committing documents:
`

400 23 org.apache.solr.common.SolrException javax.xml.stream.XMLStreamException [unsupported encoding]: java.io.UnsupportedEncodingException: UTF-8, text/xml; charset=utf-8 400 ` I checked what is sent: `nc -lv 127.0.0.1 8984 POST /solr/elixir_blog_core/update HTTP/1.1 Content-Type: text/xml; charset=utf-8, text/xml; charset=utf-8 User-Agent: hackney/1.6.6 Host: 127.0.0.1:8984 Content-Length: 9

`
Then found the bug in hackney 1.6.6 (duplicated headers), which was fixed in 1.7.0 (benoitc/hackney#388) - so I forked and used httpoison version which uses this version.
If you want you can apply this change if the project is still maintained.

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.

1 participant