Our SmartClient version is 7.0rc2.
Our issue is that we use a Restful interface. With that in mind any request we make that returns a 204 response is an issue. HTTP PUT and DELETE requests are an issue for us. It is an issue because on these requests it returns a 204 response(No Body Found) and then does not call the transformResponse method.
In our implementation, after a PUT, or DELETE has succeeded we want to perform further functionality. The transformResponse not being called on a 204 response has become a problem for us. Is there anything we can do to resolve this? Is there a fix in the works?
This seems like an issue with Smartclient and an application that uses a Restful interface, because of that I have not provided a server log, or a Developer Console log. There is not a JavaScript error that I see. If you need any of these things just reply with what you need and I will provide.
In the Documentation it seems that PUT and DELETE methods seem to be valid:
http://www.smartclient.com/docs/7.0r...est.httpMethod
I have also seen other posts:
http://forums.smartclient.com/showth...ht=http+DELETE
NOTE: To get around this issue we were putting a response body in all responses. Now we are supporting WebLogic, as well as other platforms, and it follows the HTTP spec more closely and is not allowing us to inject a body on the response on a DELETE request. In order to support a single code base for multiple platforms we really need the transformResponse to be called even if there is no body in the response.
Our issue is that we use a Restful interface. With that in mind any request we make that returns a 204 response is an issue. HTTP PUT and DELETE requests are an issue for us. It is an issue because on these requests it returns a 204 response(No Body Found) and then does not call the transformResponse method.
In our implementation, after a PUT, or DELETE has succeeded we want to perform further functionality. The transformResponse not being called on a 204 response has become a problem for us. Is there anything we can do to resolve this? Is there a fix in the works?
This seems like an issue with Smartclient and an application that uses a Restful interface, because of that I have not provided a server log, or a Developer Console log. There is not a JavaScript error that I see. If you need any of these things just reply with what you need and I will provide.
In the Documentation it seems that PUT and DELETE methods seem to be valid:
http://www.smartclient.com/docs/7.0r...est.httpMethod
I have also seen other posts:
http://forums.smartclient.com/showth...ht=http+DELETE
NOTE: To get around this issue we were putting a response body in all responses. Now we are supporting WebLogic, as well as other platforms, and it follows the HTTP spec more closely and is not allowing us to inject a body on the response on a DELETE request. In order to support a single code base for multiple platforms we really need the transformResponse to be called even if there is no body in the response.
Comment