benoitc/hackney — pull request #25 by gdamjan (2013-06-11 16:36:31+00:00)
Title: add a leading slash to #hackney_url{path}

It seems to be an oversight that #hackney_url{path} doesn't start with a slash, and also that hackney will send the url fragment when making a request.

Some web sites, like stackoverflow for example, will not like that request.

This patch adds a leading slash to #hackney_url{path}
and sends #hackney_url{path} instead of raw_path in the request function