Closed ghost closed 7 years ago
Thanks @tag42git.
Can you provide a bit more info - what are the headers in the request and the response?
input headers ...using auth.fetch(uri, options)
Link:"http://www.w3.org/ns/ldp#BasicContainer; rel="type"" Slug:"newc" body:undefined content-type:"text/turtle" location:"newc" method:"POST"
output headers:
["vary", "Origin"] ["allow", "OPTIONS, HEAD, GET, PATCH, POST, PUT, DELETE"] ["content-type", "text/plain; charset=utf-8"] ["location", "/d302a610-a9f4-11e7-9814-252dab645994"] ["link", "<.acl>; rel="acl", <.meta>; rel="describedBy", <ht…p://www.w3.org/ns/ldp#BasicContainer>; rel="type""] ["content-length", "7"] ["etag", "W/"7-rM9AyJuqT6iOan/xHh+AW+7K/T8""]
Thanks. Hmm I wonder why it's ignoring the slug. Will investigate.
Thanks for looking into this. Here's an html file that reproduces it with my local solid-server@4.0.1
sorry closed by mistake...
@tag42git Did you mean to close this again?
@melvincarvalho Yes, sorry it was not a problem with nss but user error on my part. I was using solid-auth-client without solid-client and I was putting the slug and some other options in the options object without making a headers object within the options object. I got it working. I'm making a rudimentary warp-like client in polymer 2 and hope to eventually build a quizlet-like gizmo with it. Its an amateur effort. I really like nss and Solid and hope to use it a lot.
@tag42git awesome, cant wait to see it. If you add the solid-app tag to your repo, we can watch it evolve :)
@melvincarvalho Added tag solid-app
seem to be running into:
ldp.js: 485: getAvailablePath (host, containerURI, { slug = uuid.v1(), extension }) {