If your server correctly handles options for attribute, you can store both informations (file type and the content) into a single attribute :

cv;pdf: <a PDF CV>
cv;tiff: <a TIFF CV>

It's up to the client to manage the option though, as it won't make any sense to the server (don't use the ;binary option, it as a specific semantic on the server)

Otherwise, you can define subclassed attributes to handle the different kind of files.

cordialement, regards,
Emmanuel L├ęcharny

Reply via email to