You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in his code if I add a header and that content-type index do not exist the same result as jeff code arise
if the headers["content-type] and the value is `` or null/undefined then :
3.1. PUT
handlers/put : uses utils/getContentType() that returns an application/octet-stream by default. so contentType is never missing
3.2. POST : do not test if contentType exists, resourceMapper returns an application/octet-stream and when it calls ldp.put contentType and test if contentType do exist in ldp/put. It exists
The text was updated successfully, but these errors were encountered:
@michielbdejong
@jeff-zucker is right, and I have some more details :
jeff code Content-Type - insisting on it as a MUST will create a barrier to adoption solid/specification#211 (comment) do not include a
header
.in his code if I add a header and that
content-type
index do not exist the same result as jeff code ariseif the
headers["content-type]
and the value is `` ornull/undefined
then :3.1. PUT
handlers/put : uses utils/getContentType() that returns an
application/octet-stream
by default. so contentType is never missing3.2. POST : do not test if contentType exists,
resourceMapper
returns anapplication/octet-stream
and when it calls ldp.put contentType and test if contentType do exist in ldp/put. It existsThe text was updated successfully, but these errors were encountered: