LD4P / sinopia_server

[Deprecated - switching to MongoDB] Sinopia Back-end CRUD Service. LDP-inspired, HTTP Server taking JSON-LD resources & administrative metadata.
Apache License 2.0
1 stars 1 forks source link

trellis-ext-db doesn't seem to return @type on base resource #44

Closed jmartin-sul closed 5 years ago

jmartin-sul commented 5 years ago

we send @type as ['ldp:Container', 'ldp:BasicContainer'], and for a while it seemed like i got that back in my tests, but now i don't, whether running locally on my laptop, or in circleci.

acoburn commented 5 years ago

In Trellis, LDP types can only be set and retrieved via link headers. They will never be in the response of a GET request.

jmartin-sul commented 5 years ago

@acoburn, good to know, thanks!

jermnelson commented 5 years ago

Hi @jmartin-sul, should this issue be closed?