braid-org / braid-spec

Working area for Braid extensions to HTTP
https://braid.org
232 stars 16 forks source link

Animating a PNG example: Semantics unclear? #94

Closed josephg closed 11 months ago

josephg commented 3 years ago

In section 5.1 it has this example:


     Request:
       GET /animated-braid.png
       Subscribe

     Response:
       HTTP/1.1 209 Subscribe
       Subscribe
       Content-Type: image/png         | Version
       Patches: 2                      |
                                       |
       Content-Length: 1239            | | Patch
       Content-Range: bytes=100-200    | |
                                       | |
       <binary data>                   | |
                                       |
       Content-Length: 62638           | | Patch
       Content-Range: bytes=348-887    | |
                                       | | 
       <binary data>                   | |

This is a weird use case:

The example might be better either:

canadaduane commented 3 years ago

A better example might also be modifying HTML from the server in an "animated" sort of way.

toomim commented 11 months ago

Closing as duplicate of https://github.com/braid-org/braid-spec/issues/77