bagit-profiles / bagit-profiles-specification

https://bagit-profiles.github.io/bagit-profiles-specification/
Other
35 stars 11 forks source link

Serialization options #30

Open emetsger opened 4 years ago

emetsger commented 4 years ago

With Serialization: optional (the default), I must specify at least one serialization in Accept-Serialization?

Is there a way to express the idea that any serialization is allowed? E.g. a *?

Backing up, the use case I am working with is that I would like to designate certain tag files as belonging to my profile, but otherwise keep any other restrictions to a minimum, ideally relying on the BagIT specification.

It's not a big deal to list common serializations, but I didn't know if you had considered a "wildcard" value for Accept-Serialization when Serialization: optional is present.

emetsger commented 4 years ago

Is the following in the spirit of the profile specification?

"Accept-Serialization": [
  "*/*"
]
ruebot commented 4 years ago

I simple * would make sense here to me, and it might be worth explicitly saying that is the default of 2.07 since the default of 2.06 is optional.