Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.15.0
-
None
Description
curl defaults use of POST to an HTML form (Content-Type: application/x-www-form-urlencoded) which is easy to do:
curl -XPOST --data-binary @SomeFile http://localhost:3030/ds/
There are two sub-problems:
- "SomeFile" may be large and it overflows Jetty's form handling resulting in an internal error.
- If that is not triggered, the error handling checks for query string and the error message has null in it.
Related to (1) is increase the buffer size. HTML forms aren't practical at large sizes but the default is 200k. HTML forms are valid for SPARQL Update (they are not ideal but they are legal) so a bit bigger would be helpful.