These are chat archives for read-write-web/chat

5th
Jun 2015
Sylvain Le Bon
@sylvainlb
Jun 05 2015 17:40
Hey there! From section, 4.2.3 of the LDP spec, I understand that LDP servers should accept creation of resources with PUT requests
But when I try a put on a non existing resource on RwwPlay! I get a 404 error
Am I doing something wrong here ? Or misinterpreting the spec?
Henry Story
@bblfish
Jun 05 2015 17:42
This server does not support PUT.
for creation
I suppose it should
use POST for the moment
Sylvain Le Bon
@sylvainlb
Jun 05 2015 17:42
ok, that answers it I guess :)
Henry Story
@bblfish
Jun 05 2015 17:43
there's a header you can use to specify the name of the resource you want.
Sylvain Le Bon
@sylvainlb
Jun 05 2015 17:43
yes I got that. It's just that some client side libraries don't even use the POST
Henry Story
@bblfish
Jun 05 2015 17:44
you need to use XMLHTTPrequests for that
Sylvain Le Bon
@sylvainlb
Jun 05 2015 17:45
Fyi, zazukoians/rdf-ext#18
Among other things, bergos's argument on why he thinks PUT is better than POST
Henry Story
@bblfish
Jun 05 2015 17:50
ah, you can tell me about it. There are a lot of good reasons to prefer POST.
Sylvain Le Bon
@sylvainlb
Jun 05 2015 17:51
ahah ok
I'll leave you guys argue about it ;)
Sylvain Le Bon
@sylvainlb
Jun 05 2015 18:00
It's not clear to me in the spec, but can servers accept resource updates through POST?
While I'm in the spec, section 5.2.3.13 indicates RwwPlay! should send Accept-Post header on OPTIONS, which it doesn't yet. Am I right?
Henry Story
@bblfish
Jun 05 2015 18:10
no updates are done with PUT or PATCH
Sylvain Le Bon
@sylvainlb
Jun 05 2015 18:27
ok
Anton Kulaga
@antonkulaga
Jun 05 2015 20:35
BTW, are you still using outdated scala 2.10 in rww play?