arpithparikh / rdfquery

Automatically exported from code.google.com/p/rdfquery
0 stars 0 forks source link

Content negotation #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In order to do linked data processing, one would need to do conneg. jQuery
per se only offers hard-wired support for common Web 2.0 formats such as
XML and JSON.

Original issue reported on code.google.com by Michael.Hausenblas on 28 Apr 2009 at 8:35

GoogleCodeExporter commented 8 years ago
I haven't tried it, but the $.ajax() method supports a beforeSend option which 
is a
function that allows you to modify the XMLHttpRequest object before the request 
is
sent. Using that to change the Accept header provides the facility for jQuery 
to do
content negotiation.

So I don't think this is something that rdfQuery needs to do itself, exactly, 
unless
we start providing higher-level facilities to talk to servers.

Original comment by jeni.ten...@gmail.com on 17 Jun 2009 at 9:11