Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Perform HTTP request with RDF response.

If the request succeeds, return response as RDF graph,
or return fake 9xx status if RDF cannot be parsed.
Otherwise return response and content per request.
Thus, only 2xx responses include RDF data.

Parameters:
    uripath     URI reference of resource to access, resolved against the base URI of
                the current HTTP_Session object.(more...)

src/r/o/ro-manager-HEAD/src/rocommand/ROSRS_Session.py   ro-manager(Download)
            }
        roinfotext = json.dumps(roinfo)
        (status, reason, headers, data) = self.doRequestRDF("",
            method="POST", body=roinfotext, reqheaders=reqheaders)
        log.debug("ROSRS_session.createRO: %03d %s: %s"%(status, reason, repr(data)))
        #bodyuri = anngr.value(subject=annuri, predicate=AO.body)
        #return bodyuri
        (status, reason, headers, anngr) = self.doRequestRDF(annuri)
        if status != 303:
            raise self.error("No redirect from annnotation URI",

src/r/o/ro-manager-0.2.20/rocommand/ROSRS_Session.py   ro-manager(Download)
            }
        roinfotext = json.dumps(roinfo)
        (status, reason, headers, data) = self.doRequestRDF("",
            method="POST", body=roinfotext, reqheaders=reqheaders)
        log.debug("ROSRS_session.createRO: %03d %s: %s"%(status, reason, repr(data)))
        #bodyuri = anngr.value(subject=annuri, predicate=AO.body)
        #return bodyuri
        (status, reason, headers, anngr) = self.doRequestRDF(annuri)
        if status != 303:
            raise self.error("No redirect from annnotation URI",