Fixing respond_to_msg? and outputting uri