Skip to content

Commit

Permalink
Fix an issue when the MIME is explicitly 'application/sparql-results+…
Browse files Browse the repository at this point in the history
…xml'
  • Loading branch information
fgiasson committed Jan 7, 2014
1 parent aa4b59c commit c5ce3ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public function processInterface()

if($return = $this->ws->memcached->get($key))
{
if($queryFormat !== 'application/sparql-results+xml')
if($queryFormat !== 'application/sparql-results+xml' || $this->ws->conneg->getMime() === 'application/sparql-results+xml')
{
$this->ws->sparqlContent = $return;
}
Expand Down

0 comments on commit c5ce3ae

Please sign in to comment.