Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OpenRDF's Sesame #15

Open
fonji opened this issue Sep 19, 2013 · 3 comments
Open

Support for OpenRDF's Sesame #15

fonji opened this issue Sep 19, 2013 · 3 comments

Comments

@fonji
Copy link

fonji commented Sep 19, 2013

Hello again,

I'm using tripod with Sesame.
They are a little late to support the "application/n-triples" mime-type.
Although, Sesame will return n-triples if you ask for "text/plain" (no comment).

So I made a quick and dirty change in my fork, every "application/n-triples" is now replaced by "text/plain".
It seems to work as I can get data, eager load some more, add and delete triples.
But rspec fails, probably due to my local configuration.
Here's my commit, btw.

Do you think adding a configuration variable to change the default "application/n-triples" would be a good idea?
Or create a constant so people like me can change a single line of code?

Anyway, thanks for the awesome job.
All the best,
Yannick

@RicSwirrl
Copy link
Member

Yeah - that's a good point. application/n-triples is not univerally supported yet. That config option is a good idea. :)

@fonji
Copy link
Author

fonji commented Sep 19, 2013

Thanks for the quick response!
Glad I helped.

@fonji
Copy link
Author

fonji commented Nov 7, 2013

I saw that another fork has a solution, thanks Matt!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants