Skip to content

Commit

Permalink
no longer sending text/plain versions of datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Oct 31, 2013
1 parent 6816cd4 commit 3b64581
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ckan/tests/lib/test_accept.py
Expand Up @@ -56,10 +56,3 @@ def test_accept_valid6(self):
assert_equal( ct, "application/rdf+xml; charset=utf-8")
assert_equal( markup, True)
assert_equal( ext, "rdf")

def test_accept_valid7(self):
a = "text/turtle,application/turtle,application/rdf+xml;q=0.8,text/plain;q=0.9,*/*;q=.5"
ct, markup, ext = accept.parse_header(a)
assert_equal( ct, "text/plain; charset=utf-8")
assert_equal( markup, False)
assert_equal( ext, "txt")

0 comments on commit 3b64581

Please sign in to comment.