You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/08/15 15:16:08 UTC

[GitHub] [jena] Aklakan opened a new issue, #1482: More details in HTTP error message

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: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


[GitHub] [jena] afs closed issue #1482: Improved content type issue exception message

Posted by GitBox <gi...@apache.org>.
afs closed issue #1482: Improved content type issue exception message
URL: https://github.com/apache/jena/issues/1482


-- 
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: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org