Closed djmitche closed 6 years ago
Do we get a different response type in those instances, or should we directly check for 204?
I'm not sure if the Content-Type is set incorrectly, or what, if that's what you mean.
Yeah, that's all I was wondering was if it still used application/json
.
Looks like no, no content-type. And an empty body. But I still got "Error executing operation: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" in the purge-caches tool.
Lots of services respond with a 204 status, which doesn't even have a body.
This is causing issues with the purge-cache service for example.