Download from HTTPS

I will keep it simple:
I want to upload a file via HTTPS; The methods I tried did not work (Network.HTTP.Wget, Network.Curl, Network.Download).
Suggestions?
Thanks!

+6
source share
2 answers

See http-enumerator , it works with SSL, as well as with the / iteratee IO enumerator (with the enumerator package). Therefore, you can pass it to attoparsec through attoparsec-iterator and analyze the data efficiently.

+6
source

This question appears every time:

I am currently using the following solution:

import Network.HTTP.Conduit import qualified Data.ByteString.Lazy as L main = simpleHttp "https://www.noisebridge.net/wiki/Noisebridge" >>= L.putStr 

There is also an explanation of how to send messages using http-conduit in the link, as well as several responses in other ways.

+3
source

Source: https://habr.com/ru/post/894206/


All Articles