From 092ff3937d117dc54f36225f846e4c2a17bdcd94 Mon Sep 17 00:00:00 2001 From: rich Date: Tue, 27 Jun 2006 15:46:16 +0000 Subject: [PATCH] Some very old code checked in. --- .depend | 8 ++++---- wrappers/pl_WWW_Mechanize.ml | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.depend b/.depend index 92d9ad8..43ca867 100644 --- a/.depend +++ b/.depend @@ -38,12 +38,12 @@ wrappers/pl_HTTP_Headers.cmo: perl.cmi wrappers/pl_HTTP_Headers.cmx: perl.cmx wrappers/pl_HTTP_Message.cmo: wrappers/pl_HTTP_Headers.cmo perl.cmi wrappers/pl_HTTP_Message.cmx: wrappers/pl_HTTP_Headers.cmx perl.cmx +wrappers/pl_HTTP_Request_Common.cmo: wrappers/pl_HTTP_Request.cmo perl.cmi +wrappers/pl_HTTP_Request_Common.cmx: wrappers/pl_HTTP_Request.cmx perl.cmx wrappers/pl_HTTP_Request.cmo: wrappers/pl_URI.cmo \ wrappers/pl_HTTP_Message.cmo perl.cmi wrappers/pl_HTTP_Request.cmx: wrappers/pl_URI.cmx \ wrappers/pl_HTTP_Message.cmx perl.cmx -wrappers/pl_HTTP_Request_Common.cmo: wrappers/pl_HTTP_Request.cmo perl.cmi -wrappers/pl_HTTP_Request_Common.cmx: wrappers/pl_HTTP_Request.cmx perl.cmx wrappers/pl_HTTP_Response.cmo: wrappers/pl_HTTP_Request.cmo \ wrappers/pl_HTTP_Message.cmo perl.cmi wrappers/pl_HTTP_Response.cmx: wrappers/pl_HTTP_Request.cmx \ @@ -52,14 +52,14 @@ wrappers/pl_LWP_UserAgent.cmo: wrappers/pl_HTTP_Response.cmo \ wrappers/pl_HTTP_Request.cmo wrappers/pl_HTTP_Cookies.cmo perl.cmi wrappers/pl_LWP_UserAgent.cmx: wrappers/pl_HTTP_Response.cmx \ wrappers/pl_HTTP_Request.cmx wrappers/pl_HTTP_Cookies.cmx perl.cmx +wrappers/pl_Net_Google_Cache.cmo: perl.cmi +wrappers/pl_Net_Google_Cache.cmx: perl.cmx wrappers/pl_Net_Google.cmo: wrappers/pl_Net_Google_Spelling.cmo \ wrappers/pl_Net_Google_Search.cmo wrappers/pl_Net_Google_Cache.cmo \ perl.cmi wrappers/pl_Net_Google.cmx: wrappers/pl_Net_Google_Spelling.cmx \ wrappers/pl_Net_Google_Search.cmx wrappers/pl_Net_Google_Cache.cmx \ perl.cmx -wrappers/pl_Net_Google_Cache.cmo: perl.cmi -wrappers/pl_Net_Google_Cache.cmx: perl.cmx wrappers/pl_Net_Google_Response.cmo: perl.cmi wrappers/pl_Net_Google_Response.cmx: perl.cmx wrappers/pl_Net_Google_Search.cmo: wrappers/pl_Net_Google_Response.cmo \ diff --git a/wrappers/pl_WWW_Mechanize.ml b/wrappers/pl_WWW_Mechanize.ml index f9e4604..10a4098 100644 --- a/wrappers/pl_WWW_Mechanize.ml +++ b/wrappers/pl_WWW_Mechanize.ml @@ -2,7 +2,7 @@ * * Copyright (C) 2004 Merjis Ltd. * - * $Id: pl_WWW_Mechanize.ml,v 1.6 2005-08-16 15:39:22 rich Exp $ + * $Id: pl_WWW_Mechanize.ml,v 1.7 2006-06-27 15:46:18 rich Exp $ *) open Perl @@ -239,6 +239,10 @@ object (self) let sv = call_method sv "base" [] in string_of_sv sv + method url_abs = + let sv = call_method sv "url_abs" [] in + string_of_sv sv + end (* XXX Should be able to pass args to constructor of LWP::UserAgent. *) -- 1.8.3.1