Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.

Commit c0a5b8e

Browse files
committed
Explain semantics more
1 parent ec920e5 commit c0a5b8e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ downloads of files, as well as persistence and a standalone server.
77
It allows a writer to `APPEND` data to a resource via a WebSocket and multiple
88
readers to `FOLLOW` updates to the resource using WebSockets.
99

10+
Only one simultaneous appender is allowed for each resource. If there are no
11+
appenders at an existing resource, the server returns the full data in an HTTP
12+
200 (bypassing WebSockets) to a follower. If the resource has never been written
13+
to, the server responds to a follower with HTTP 404.
14+
15+
1016
* [Documentation on Sourcegraph](https://sourcegraph.com/github.com/sourcegraph/httpfstream)
1117

1218
[![Build Status](https://travis-ci.org/sourcegraph/httpfstream.png?branch=master)](https://travis-ci.org/sourcegraph/httpfstream)
@@ -63,10 +69,6 @@ baz
6369
Notice that the `httpfstream-follow` window echoes what you type into the
6470
appender window. Once you close the appender, the follower quits as well.
6571

66-
If there are no appenders at an existing resource, the server returns the full
67-
data in an HTTP 200 (bypassing WebSockets). If the resource has never been
68-
written to, the server responds with HTTP 404.
69-
7072

7173
### As a Go library
7274

0 commit comments

Comments
 (0)