Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute better filenames for returned rdf #248

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

lalewis1
Copy link
Collaborator

@lalewis1 lalewis1 commented Jul 29, 2024

As per issue idn-au/catalogue-data#35 The
returned RDF files did not have appropriate filenames.

This PR adds a filename where possible to the returned RDF via the Content-Disposition header.

As per issue idn-au/catalogue-data#35 The
returned RDF files did not have appropriate filenames.
@recalcitrantsupplant
Copy link
Collaborator

Looks fine - could you add minimal tests to check the header comes back as expected for an object + listing

tests that the returned headers are as expected for object and listing
endpoints
@lalewis1
Copy link
Collaborator Author

Minimal tests added.

@lalewis1 lalewis1 merged commit e8b4049 into maintenance-v3 Jul 30, 2024
1 check passed
@lalewis1 lalewis1 deleted the lawson/vocpub-all branch July 30, 2024 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants