Plugins:GenericHttpMethod: Difference between revisions

Jump to navigation Jump to search
Line 71: Line 71:
* Do we need a separate callback for the final state (as in NPN_PostURLNotify, or should we just keep calling NPP_HttpResponseNotify and add a status field as in XmlHttpRequest?)
* Do we need a separate callback for the final state (as in NPN_PostURLNotify, or should we just keep calling NPP_HttpResponseNotify and add a status field as in XmlHttpRequest?)
* Is there a better way to pass in flags than setting bits in an integer parameter?
* Is there a better way to pass in flags than setting bits in an integer parameter?
* Error handling in XHR (due to historical reasons) is a weird mix involving readyState, httpResponseState (going back to 0) and exceptions; we should do better than that.
88

edits

Navigation menu