On 18/05/11 08:51, Andy Seaborne wrote:
On 17/05/11 22:17, Alex Genadinik wrote:
Thank you Andy.
I changed my put to this command
./s-put http://localhost:3030/dataset/data default myowlfile.owl
Correct.
and the server spat out this output:
14:12:28 INFO Fuseki :: [1] PUT
http://localhost:3030/dataset/data?default
14:12:29 INFO Fuseki :: [1] 204 No Content
I tried it like this also:
./s-put http://localhost:3030/data default myowlfile.owl
./s-put http://localhost:3030/data/dataset default myowlfile.owl
But they gave me an error so I settled on the above command. But it says
no content. What do you think went wrong?
Nothing went wrong. It worked.
Any 2xx is success.
"204 No content" means "success - nothing in the reply". This is
standard HTTP
The 415, and nothing in the log, was Jetty (as used by Fuseki) saying
"you can't do that".
s/415/405/
PUT/405 means you can't write to something - in this case, nothing
registered at that part of the namespace.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Andy
Thanks,
Alex