see: https://github.com/ChromeDevTools/devtools-protocol/issues/58
Copied:
This is true for both Response and WebSocketResponse in the Network domain, their status properties are of type number instead of integer. Could they be changed to integer (as per HTTP spec) or is there something that relies on them being numbers?
The reason I'm asking is that I maintain a Go library for the protocol (cdp) where typed code is generated from the protocol definition and the distinction is useful. In mafredri/cdp#27 a user asked why this wasn't an int, reasonably so.
Is there anything I can do to help get this changed?
Comment 1 by bugdroid1@chromium.org
, Sep 26 2017