From 0b0877b8cdca6476ff76b1de8cfcbe75c399917f Mon Sep 17 00:00:00 2001 From: Matt de Haast Date: Mon, 8 Apr 2019 13:46:17 -0700 Subject: [PATCH] feat: update to include account identification --- 0035-ilp-over-http/0035-ilp-over-http.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/0035-ilp-over-http/0035-ilp-over-http.md b/0035-ilp-over-http/0035-ilp-over-http.md index 28812476..db61fc47 100644 --- a/0035-ilp-over-http/0035-ilp-over-http.md +++ b/0035-ilp-over-http/0035-ilp-over-http.md @@ -1,6 +1,6 @@ --- title: ILP Over HTTP -draft: 2 +draft: 3 --- # ILP Over HTTP @@ -32,6 +32,7 @@ Host: example.com Accept: application/octet-stream Content-Type: application/octet-stream Authorization: Bearer zxcljvoizuu09wqqpowipoalksdflksjdgxclvkjl0s909asdf +ILP-Account-Name: alice < Body: Binary OER-Encoded ILP Prepare Packet > ``` @@ -40,7 +41,8 @@ Authorization: Bearer zxcljvoizuu09wqqpowipoalksdflksjdgxclvkjl0s909asdf - **Path** - A connector MAY specify any HTTP path for their peer to send ILP packets to. - **Host Header** - The standard [HTTP Host Header](https://tools.ietf.org/html/rfc2616#section-14.23) indicating the domain of the HTTP server the Request is sent to. -- **Content-Type / Accept Headers** - MUST be set to `application/octet-stream`. +- **Content-Type / Accept Headers** - MUST be set to `application/octet-stream`.\ +- **ILP-Account-Name** - An optional header used to identify the account for which the request is being made. - **Body** - ILP Packet encoded using OER, as specified in [RFC 27: Interledger Protocol V4](./0027-interledger-protocol-4/0027-interledger-protocol-4.md). ### Response