Abort HTTP-Request Server process

試著忘記壹切 提交于 2019-12-13 04:34:48

问题


As shown in Abort DoJo XHR-Request it is possible to cancel a (dojo/request/xhr) http request on the Client. The problem is, that the according server process (initiated by the request) is still running.

If we use a XMLHttpRequest-Object, calling abort() on it would stop the server process.

So the question is: Is it possible to achive this with dojo? Or is it possible to get access to the internal XMLHttpRequest-Object (used by dojo/request/xhr) to call abort() on it?

来源:https://stackoverflow.com/questions/22273158/abort-http-request-server-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!