HTTP 1.0 request with HTTPoison

131 Views Asked by At

How do I make a HTTP/1.0 request with HTTPoison? I don't know which version it's using, but I'm assuming it's not 1.0 by default.

I am integrating with some accounting software called MoneyWorks, and they recommend using HTTP/1.0 if possible to avoid a 2 second timeout delay.

I don't see anything in the HTTPoison docs for this so I went to the Hackney docs since it's built on that. Didn't see anything there either.

1

There are 1 best solutions below

1
PatNowak On

In this case I would use ibrowse, which - as Github documentation states - supports HTTP 1.0. Maybe better idea is start with Httpotion, which is built on the ibrowse.

As you wrote, there is no info about supporting this version for Hackney (which means is also unknown for Httpoison).