diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-11-04 17:16:46 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-11-04 17:16:46 -0500 |
commit | fcf234fc08e445e2e5b4dfd1a35b10e929940244 (patch) | |
tree | 1acd830bfe00293fe3c59d6bcc2e7727d0a82068 /src/uint256.h | |
parent | 2306dc4b760df577130337be0a32d5a4014981a1 (diff) | |
download | bitcoin-fcf234fc08e445e2e5b4dfd1a35b10e929940244.tar.xz |
RPC: HTTP server uses its own ReadHTTPRequestLine()
rather than reusing ReadHTTPStatus() from the client mode.
The following additional HTTP request validations are added, both in line with
existing HTTP client practice:
1) HTTP method must be GET or POST. Most clients use POST, some
use GET. Either way, this continues to work.
2) HTTP URI must start with "/" character.
Normal URI is "/" (a 1-char string), so this is fine.
Diffstat (limited to 'src/uint256.h')
0 files changed, 0 insertions, 0 deletions