Aklakan opened a new issue, #1482:
URL: https://github.com/apache/jena/issues/1482

   ### Version
   
   4.6.0-SNAPSHOT
   
   ### Feature
   
   With queries against DBpedia (http://dbpedia.org/sparql) I occasionally get 
   `Endpoint returned Content-Type: text/html which is not recognized for 
SELECT queries.` which does not show what the server is actually returning.
   
   I extended the message to include status code, status message and an excerpt 
of the body in order to easy investigation of the issue such that the message 
now looks like:
   ```
   Endpoint returned Content-Type: text/html which is not recognized for SELECT 
queries. Status Code 200 OK, Body: <!DOCTYPE html>
   <html lang="en">
   <head>...
   ```
   So in this specific case it seems it's really DBpedia returning the web page 
as a response to a SPARQL request.
   
   ### Are you interested in contributing a solution yourself?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to