Open fonji opened 11 years ago
Yeah - that's a good point. application/n-triples is not univerally supported yet. That config option is a good idea. :)
Thanks for the quick response! Glad I helped.
I saw that another fork has a solution, thanks Matt!
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