# File lib_core/rucy/response.rb, line 146 def absolute_location(request) if (uri = header('Location')) then if (uri =~ %r"^/") then abs_uri = 'http://' abs_uri << request.host << uri set_header('Location', abs_uri) end end nil end