You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "ailintom (via GitHub)" <gi...@apache.org> on 2023/05/14 10:22:41 UTC

[GitHub] [jena] ailintom commented on a diff in pull request #1866: Rephrase error message in SPARQL_Update.java

ailintom commented on code in PR #1866:
URL: https://github.com/apache/jena/pull/1866#discussion_r1193117608


##########
jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Update.java:
##########
@@ -83,7 +83,7 @@ public void execOptions(HttpAction action) {
 
     @Override
     public void execGet(HttpAction action) {
-        ServletOps.errorMethodNotAllowed(HttpNames.METHOD_GET, "GET not support for SPARQL Update. Use POST or PATCH");
+        ServletOps.errorMethodNotAllowed(HttpNames.METHOD_GET, "SPARQL Update is not supported with GET. Use POST instead");

Review Comment:
   When I am trying to update my instance of Fuseki 4.8.0 with PATCH, I am getting the following error: "HTTP method not allowed: SPARQL Update : use POST" triggered by https://github.com/apache/jena/blob/f540f6df8b5492e5f052a1679d6e46b95fce744f/jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_Update.java#L128 



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

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


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