diff Lib/IMPL/Web/AutoLocator.pm @ 256:32aceba4ee6d

corrected ViewHandlers to handle cookies and headers. Dirty hacks to handle binary data RestController doesn't deal with file extensions anymore.
author sergey
date Wed, 12 Dec 2012 04:29:50 +0400
parents a02b110da931
children 6dc1c369eb71
line wrap: on
line diff
--- a/Lib/IMPL/Web/AutoLocator.pm	Fri Dec 07 16:58:19 2012 +0400
+++ b/Lib/IMPL/Web/AutoLocator.pm	Wed Dec 12 04:29:50 2012 +0400
@@ -73,6 +73,12 @@
 	return $url;
 }
 
+sub ToAbsolute {
+    my ($this,$baseUrl) = @_;
+    
+    return URI->new_abs( $this->url, $baseUrl );
+}
+
 sub toString {
     shift->url->as_string();
 }