nathan-osman / REST-Easy

A simple REST client for Firefox
Mozilla Public License 2.0
130 stars 39 forks source link

Can't handle the 204 status code [bug] #44

Open spydon opened 8 years ago

spydon commented 8 years ago

When the plugin gets a 204 status code, it just shows the "Please wait, Sending the request"-dialog and then stays like that until cancelled. I get the correct status code (204) when I request the same thing using cURL.

It most likely has something to do with that 204 responses don't have entity-bodies and that that case isn't being handled correctly in the plugin.

devanes commented 8 years ago

I can confirm this. Chrome's Postman handles such requests fine

nathan-osman commented 8 years ago

Hmmm... this is proving to be a more unusual problem than first expected. I found a fix for the problem but it doesn't work consistently, so further investigation is needed.