Changeset - 54027815c6cc
[Not reviewed]
default
0 1 0
Drew Perttula - 11 years ago 2014-05-27 05:48:25
drewp@bigasterisk.com
rdfdb can return 'application/n-quads' response
Ignore-this: 3ab9cdd77f1c088af031c714b3ca2804
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/rdfdb
Show inline comments
 
@@ -379,6 +379,8 @@ class GraphResource(PrettyErrorHandler, 
 
        format = 'n3'
 
        if accept == 'text/plain':
 
            format = 'nt'
 
        elif accept == 'application/n-quads':
 
            format = 'nquads'
 
        self.write(self.settings.db.graph.serialize(format=format))
 

	
 
class Patches(PrettyErrorHandler, cyclone.web.RequestHandler):
0 comments (0 inline, 0 general)