# Empty response

**URL:** <https://forum.elixirforum.com/t/empty-response/21079>\
**Category:** Questions\
**Tags:** httpoison, http-requests, hackney\
**Created:** [March 23, 2019, 3:03pm UTC](https://forum.elixirforum.com/t/empty-response/21079 "2019-03-23T15:03:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hubertlepicki](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hubertlepicki/32/6822_2.png) [@hubertlepicki](https://forum.elixirforum.com/u/hubertlepicki)\
**Post date:** [March 23, 2019, 3:15pm UTC](https://forum.elixirforum.com/t/empty-response/21079/2 "2019-03-23T15:15:04Z")

</div>

> [@drakvuf](#):
>
> HTTPoison.get(“[http://www.origo.hu/contentpartner/rss/origoall/origo.xml”](http://www.origo.hu/contentpartner/rss/origoall/origo.xml%E2%80%9D))  
> {:ok,

So you are getting a 301 redirect, precisely you are being redirected from http:// to https://.

You can use just http:// in the original URL, or configure HTTPoison to follow redirects like this: [httpoison/test/httpoison\_test.exs at 3481d567adcb06d129dfec3c69aa87d1719f7a8b · edgurgel/httpoison · GitHub](https://github.com/edgurgel/httpoison/blob/3481d567adcb06d129dfec3c69aa87d1719f7a8b/test/httpoison_test.exs#L89-L103)

---

_[View the full topic](https://forum.elixirforum.com/t/empty-response/21079)._
