fxfactorial / podge

:moneybag: A Hodgepodge of functions for living in the OCaml ecosystem
http://hyegar.com
62 stars 6 forks source link

the example not work anymore? #3

Open swuecho opened 8 years ago

swuecho commented 8 years ago

➜ git:(master) ✗ utop show_query.ml https://www.bitstamp.net/api/ticker/ Exception: Podge.Web.Bad_http_result "No Headers or Body, strange".

ocaml version 4.04

fxfactorial commented 8 years ago

Thanks, I will fix this soon

Sent from my iPhone

On Nov 22, 2016, at 5:40 AM, Hao Wu notifications@github.com wrote:

➜ git:(master) ✗ utop show_query.ml https://www.bitstamp.net/api/ticker/ Exception: Podge.Web.Bad_http_result "No Headers or Body, strange".

ocaml version 4.04

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

fxfactorial commented 7 years ago

@swuecho Hi, thanks for patience. I have fixed the Web module. Right now it works for HTTP, you can give it that bitstamp https query but you will most likely get a redirect for the HTTPS version since I haven't implemented HTTPS yet. You can try it again once this PR clears https://github.com/ocaml/opam-repository/pull/8165

Or you can do it directly off of master:

$ opam pin add podge git@github.com:fxfactorial/podge.git
fxfactorial commented 7 years ago

@swuecho Would you like to try again? The latest version is up on opam