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
Currently the bitstream's mimetype is missing from the bitstream model. The client already passes the mimetype in create_bitstream(). If this was available in the model it could be used instead of checking whether the filename string contains ".pdf", for example.
The text was updated successfully, but these errors were encountered:
The easiest way to handle this is to embed format in the response like .../bitstreams?embed=format -- and is part of a larger improvement needed, where we expect all sorts of object types in _embedded
kshepherd
added a commit
to kshepherd/dspace-rest-python
that referenced
this issue
Jun 11, 2024
Currently the bitstream's mimetype is missing from the
bitstream
model. The client already passes the mimetype increate_bitstream()
. If this was available in the model it could be used instead of checking whether the filename string contains ".pdf", for example.The text was updated successfully, but these errors were encountered: