简体   繁体   中英

HTTP 1.0 request with HTTPoison

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.

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM