• Seungbae Yu's avatar
    rpc: check that "version" is "2.0" in request objects (#25570) · 38e002f4
    Seungbae Yu authored
    The JSON-RPC spec requires the "version" field to be exactly "2.0",
    so we should verify that. This change is not backwards-compatible with
    sloppy client implementations, but I decided to go ahead with it anyway
    because the failure will be caught via the returned error. 
    38e002f4
Name
Last commit
Last update
..
invalid-badid.js Loading commit data...
invalid-badversion.js Loading commit data...
invalid-batch.js Loading commit data...
invalid-idonly.js Loading commit data...
invalid-nonobj.js Loading commit data...
invalid-syntax.json Loading commit data...
reqresp-batch.js Loading commit data...
reqresp-echo.js Loading commit data...
reqresp-namedparam.js Loading commit data...
reqresp-noargsrets.js Loading commit data...
reqresp-nomethod.js Loading commit data...
reqresp-noparam.js Loading commit data...
reqresp-paramsnull.js Loading commit data...
revcall.js Loading commit data...
revcall2.js Loading commit data...
subscription.js Loading commit data...