RESTClient
RESTClient copied to clipboard
Request does not finish when 204 Status code (no Content) includes content
When communicating with a service that returns a 204 (No Content) Response but also sends data (i.e. empty JSON {}
) then the client never finishes. While the Request is done properly on the server side, the popup which says Processing ...sending Data
never closes. One has to hit abort.
Except that everything works as expected.
I'm also seeing this.
also see this behavior
The solutions to issues 93 and 124 work here. Remove the Content-Type header or set to some something other than application/json.
I can't do that in my case--the API requires it.
Another workaround is to add whitespace to the body of the response. Or use curl for this test case!