def _vo_service_request(url, pedantic, kwargs, cache=True, verbose=False):
 if (len(kwargs) and (not url.endswith((u'?', u'&')))):
  raise InvalidAccessURL(u"url should already end with '?' or '&'")
 query = []
 for (key, value) in six.iteritems(kwargs):
  query.append(u'{0}={1}'.format(urllib.parse.quote(key), urllib.parse.quote_plus(str(value))))
 parsed_url = (url + u'&'.join(query))
 with get_readable_fileobj(parsed_url, encoding=u'binary', cache=cache, show_progress=verbose) as req:
  tab = table.parse(req, filename=parsed_url, pedantic=pedantic)
 return vo_tab_parse(tab, url, kwargs)

def _vo_service_request ( url , pedantic , kwargs , cache = True , verbose = False ) : if ( len ( kwargs ) and ( not url . endswith ( ( u'?' , u'&' ) ) ) ) : raise InvalidAccessURL ( u"url should already end with '?' or '&'" ) query = [ ] for ( key , value ) in six . iteritems ( kwargs ) : query . append ( u'{0}={1}' . format ( urllib . parse . quote ( key ) , urllib . parse . quote_plus ( str ( value ) ) ) ) parsed_url = ( url + u'&' . join ( query ) ) with get_readable_fileobj ( parsed_url , encoding = u'binary' , cache = cache , show_progress = verbose ) as req : tab = table . parse ( req , filename = parsed_url , pedantic = pedantic ) return vo_tab_parse ( tab , url , kwargs )
this is called by :func:call_vo_service .