HomePhabricator

RPC: strictly require HTTP URI "/"
9f4976afe256Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

RPC: strictly require HTTP URI "/"

Previously, JSON-RPC clients accessed URI "/", and the JSON-RPC server
did not care about the URI at all, and would accept any URI as valid.

Change the JSON-RPC server to require URI "/" for all current accesses.

This changes enables the addition of future interfaces at different
URIs, such as pull request #1982 which demonstrates HTTP REST wallet
download.

Or, a future, breaking change in JSON-RPC interface could be introduced
by serving JSON-RPC calls from new URI "/v2/".

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on May 1 2013, 14:41
Jeff Garzik <jgarzik@redhat.com>Committed on May 1 2013, 14:41
deadalnixPushed on May 14 2017, 22:04
Parents
rABCeef2091fe9ee: Merge pull request #2595 from sipa/noannloc
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rABC9f4976afe256: RPC: strictly require HTTP URI "/" (authored by Jeff Garzik <jgarzik@exmulti.com>).May 1 2013, 14:41