caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocurl: missing CURLINFO_REDIRECT_URL
@ 2012-03-29 23:39 oliver
  2012-04-04  6:27 ` ygrek
  0 siblings, 1 reply; 2+ messages in thread
From: oliver @ 2012-03-29 23:39 UTC (permalink / raw)
  To: caml-list

Hello,

I need to look at the location header,
when using ocurl.

There is
  CURLINFO_REDIRECT_TIME
and
  CURLINFO_REDIRECT_COUNT

available as parameters for
curl_easy_getinfo()
but I want to look at the header and need a binding for
CURLINFO_REDIRECT_URL.

Maybe developers of the OCaml-binging for curl are on this list
and may add that binding?

Would be nice.

Thanks,
   Oliver

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocurl: missing CURLINFO_REDIRECT_URL
  2012-03-29 23:39 [Caml-list] ocurl: missing CURLINFO_REDIRECT_URL oliver
@ 2012-04-04  6:27 ` ygrek
  0 siblings, 0 replies; 2+ messages in thread
From: ygrek @ 2012-04-04  6:27 UTC (permalink / raw)
  To: oliver; +Cc: caml-list

On Fri, 30 Mar 2012 01:39:00 +0200
oliver <oliver@first.in-berlin.de> wrote:

> but I want to look at the header and need a binding for
> CURLINFO_REDIRECT_URL.

It is available in my patched version - http://repo.or.cz/w/ocurl.git
I hope eventually most of the changes would propagate upstream.

-- 
 ygrek
 http://ygrek.org.ua

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-04  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 23:39 [Caml-list] ocurl: missing CURLINFO_REDIRECT_URL oliver
2012-04-04  6:27 ` ygrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).