Skip to content

Conversation

@julianladisch
Copy link
Contributor

@julianladisch julianladisch commented Nov 17, 2025

https://folio-org.atlassian.net/browse/MODHAADM-143

An empty JSON document is invalid.

An empty body with Content-type: application/json causes a json parse failure in Stripes.
Use Content-type: text/plain instead.

This PR handles all 204 responses found by this GitHub search: https://github.com/search?q=repo%3Aindexdata%2Fmod-harvester-admin+%28204+OR+no_content+OR+nocontent%29&type=code

https://folio-org.atlassian.net/browse/MODHAADM-143

An empty JSON document is invalid.

An empty body with `Content-type: application/json` causes a json parse failure in Stripes.
Use `Content-type: text/plain` instead.
Copy link
Collaborator

@nielserik nielserik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@nielserik nielserik merged commit a91fec5 into indexdata:master Nov 18, 2025
1 check failed
@julianladisch julianladisch deleted the MODHAADM-143 branch December 19, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants