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
I have a STAC Catalog that supports multiple media type implementations of the root link in the Catalog. It appears that the stac_object.get_root_link call is not passing a media type to stac_object.get_single_link, leading to it trying to parse representations other than expected (eg the HTML version instead of json).
I think this issue is similar to what was discussed in #1255
Thanks
The text was updated successfully, but these errors were encountered:
This is totally reasonable. I just worry that it might break things for people who might not have media_type defined on their root link. I just double checked the spec for links and type is not a required field.
So to support existing users I think we would want to first look for a link with the matching on rel AND media_type and then if None just match on rel.
I have a STAC Catalog that supports multiple media type implementations of the root link in the Catalog. It appears that the stac_object.get_root_link call is not passing a media type to stac_object.get_single_link, leading to it trying to parse representations other than expected (eg the HTML version instead of json).
I think this issue is similar to what was discussed in #1255
Thanks
The text was updated successfully, but these errors were encountered: