Klortho / eutils-org

Project to produce RDF output for some NCBI E-utilities
5 stars 2 forks source link

URI resolver: allow extensions to simulate accept header values #2

Closed Klortho closed 11 years ago

Klortho commented 11 years ago

A complement to issue #1, this would allow a user/tester/debugger to dereference an RDF URI and add a filename extension to it in order to simulate an HTTP accept header.

Thus, http://rdf.ncbi.nlm.nih.gov/pubchem/compound/CID2244.json would evaluate exactly the same way as if the client gave the accept header "application/json", and requested /pubchem/compound/CID2244 (without the extension).

Klortho commented 11 years ago

Oops, I closed the wrong one. Commit 44b94eb actually fixes #1.

Klortho commented 11 years ago

Moved to here