Open akuckartz opened 9 years ago
Having read the discussion on https://github.com/OParl/specs/issues/31 (German) again I do not see any good reason to keep the downloadurl
property (neither as SHOULD nor OPTIONAL). The last component of the URL path can be the filename. Then there is no need to transmit the filename in the disposition header.
In https://github.com/OParl/specs/issues/31#issuecomment-33068942 (German) it was suggested to provide two URLs per file,
accessurl
anddownloadurl
(these properties are contained in the current OParl draft). Accessing the second URL results to a "Content-Disposition" http-header being transmitted to the client. See RFC 6266 (http://tools.ietf.org/html/rfc6266)Attachment
andInline
.This looks like a cludge (security, data in http-header, server complexity) and hopefully is not necessary. Verify that there is no solution which only requires one URL.