- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Mon, 2 Feb 2015 00:13:49 +0100
- To: carmen r <mail@whats-your.name>
- Cc: public-rww <public-rww@w3.org>
- Message-ID: <CAKaEYhL928e-eHRiid4kSW5szw45gsNGo=QNuU_hEWZBCaGCfw@mail.gmail.com>
On 1 February 2015 at 20:39, carmen r <mail@whats-your.name> wrote: > this is good!..for the "CURL LDP users guide" alongside > https://github.com/read-write-web/rww-play/wiki/Curl-Interactions > Thanks for reminding me of this, very useful! Nick also mentioned httpie [1] which is a great tool [1] http://httpie.org/ > > > USER_AGENT='User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 > (KHTML, like Gecko) Ubuntu Chromium/39.0.2171.65 Chrome/39.0.2171.65 > Safari/537.36' > No specific reason, was from cut and paste from browser. Tho some sites do give a 4xx with some user agents, so I thought, why not. > > any reason you are simulating this? surely Gold doesnt care about the > user's agent so long as it follows the protocol > > > ACL=$(echo $LOC | sed 's/^\(.*\)\/\(.*\)/\1\/.acl.\2/' ) > > the resource points to its ACL URI explicitly, in a Link rel=acl header. > not all LDP servers will fit this regex.. > Good point, will fix. > > > <http://purl.org/dc/terms/created> > > <http://rdfs.org/sioc/ns#has_creator> > > a <http://rdfs.org/sioc/ns#Post> > > LDP says Container POSTs are an optional feature, but > > implicit-triples are something they might support > > server knows what time it is, who is posting (thanks to WebID auth), and > if your container is a sioc:Blog, it knows and could even be constrainted > to only creating sioc:Post inside > > so it could fill in these triples if theyre ommited, requiring the POSTed > content to only have the sioc:content triple.. > > +1
Received on Sunday, 1 February 2015 23:14:17 UTC