query_url (OpenID::Yadis::XRI::ProxyResolver)

    # File lib/openid/yadis/xrires.rb, line 28
            def query_url(xri, service_type=nil)
              # URI normal form has a leading xri://, but we need to strip
              # that off again for the QXRI.  This is under discussion for
              # XRI Resolution WD 11.
              qxri = XRI.to_uri_normal(xri)[6..-1]
              hxri = @proxy_url + qxri
              args = {'_xrd_r' => 'application/xrds+xml'}
              if service_type
                args['_xrd_t'] = service_type
              else
                # don't perform service endpoint selection
                args['_xrd_r'] += ';sep=false'
              end

              return XRI.append_args(hxri, args)
            end