Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
hughns/simple-rendezvous-capability
Hugh Nimmo-Smith 1 year ago committed by GitHub
parent 6937a86a6a
commit 4ab59f8d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@ HTTP response headers for `201 Created`:
- `Location` - required, the allocated rendezvous URI which can be on a different server
- `X-Max-Bytes` - required, the maximum allowed bytes for the payload
- `ETag` - required, ETag for the current payload at the rendezvous point as per [RFC7232](https://httpwg.org/specs/rfc7232.html#header.etag)
- `Expires` - required, the expiry time of the rendezvous as per [RFC7233](https://httpwg.org/specs/rfc7234.html#header.expires)
- `Expires` - required, the expiry time of the rendezvous as per [RFC7234](https://httpwg.org/specs/rfc7234.html#header.expires)
- `Last-Modified` - required, the last modified date of the payload as per [RFC7232](https://httpwg.org/specs/rfc7232.html#header.last-modified)
Example response headers:
@ -201,7 +201,7 @@ The proposed protocol requires the devices to have IP connectivity to the server
Try and do something with STUN or TURN or [COAP](http://coap.technology/).
Rather than requiring the devices to poll for updated "long-polling" could be used instead similar to `/sync`.
Rather than requiring the devices to poll for updates, "long-polling" could be used instead similar to `/sync`.
## Security considerations

Loading…
Cancel
Save