HttpRequest

I have updated to WebCore 1.4.0 and now there is an error on the TWebHttpRequest component. The signature of the RequestReponse handler has not changed, but the compiler now gives this message if a handler is in place. It compiles ok without a handler.

[Error] fWebMod.pas(1): Incompatible type arg no. 2: Got "TJSXMLHttpRequestRecord", expected "TJSXMLHttpRequest"
Incompatible type arg no. 2: Got "TJSXMLHttpRequestRecord", expected "TJSXMLHttpRequest"
[Fatal Error] Incompatible type arg no. 2: Got "TJSXMLHttpRequestRecord", expected "TJSXMLHttpRequest"

It is explained in the release notes that there is a breaking change and the release notes contain instructions for adapting this.

No, that did not work. Now it gives this error:
[Error] fWebMod.pas(14): identifier not found "TJSXMLHttpRequestRecord"

does it need to reference a different unit?

TJSXMLHttpRequestRecord is defined in WEBLib.Controls

Later that day, removed the http component and all the methods,
uninstalled webcore again, rebooted, re-installed webcore and added a
new http component and created new methods. It works now.