forked from I2P_Developers/i2p.www
fix2
This commit is contained in:
@@ -103,14 +103,14 @@ All lines are teriminated with \r\n as required by HTTP.
|
|||||||
{% highlight %}
|
{% highlight %}
|
||||||
|
|
||||||
GET /GarlicFarm/CLUSTER/VERSION/websocket HTTP/1.1
|
GET /GarlicFarm/CLUSTER/VERSION/websocket HTTP/1.1
|
||||||
Host: (ip):(port)
|
Host: (ip):(port)
|
||||||
Cache-Control: no-cache
|
Cache-Control: no-cache
|
||||||
Connection: close
|
Connection: close
|
||||||
(any other headers ignored)
|
(any other headers ignored)
|
||||||
(blank line)
|
(blank line)
|
||||||
|
|
||||||
CLUSTER is the name of the cluster (default "farm")
|
CLUSTER is the name of the cluster (default "farm")
|
||||||
VERSION is the Garlic Farm version (currently "1")
|
VERSION is the Garlic Farm version (currently "1")
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
@@ -138,17 +138,17 @@ All lines are teriminated with \r\n as required by HTTP.
|
|||||||
{% highlight %}
|
{% highlight %}
|
||||||
|
|
||||||
GET /GarlicFarm/CLUSTER/VERSION/websocket HTTP/1.1
|
GET /GarlicFarm/CLUSTER/VERSION/websocket HTTP/1.1
|
||||||
Host: (ip):(port)
|
Host: (ip):(port)
|
||||||
Cache-Control: no-cache
|
Cache-Control: no-cache
|
||||||
Connection: keep-alive, Upgrade
|
Connection: keep-alive, Upgrade
|
||||||
Upgrade: websocket
|
Upgrade: websocket
|
||||||
(Sec-Websocket-* headers if proxied)
|
(Sec-Websocket-* headers if proxied)
|
||||||
Authorization: (HTTP digest authorization header as in RFC 2617)
|
Authorization: (HTTP digest authorization header as in RFC 2617)
|
||||||
(any other headers ignored)
|
(any other headers ignored)
|
||||||
(blank line)
|
(blank line)
|
||||||
|
|
||||||
CLUSTER is the name of the cluster (default "farm")
|
CLUSTER is the name of the cluster (default "farm")
|
||||||
VERSION is the Garlic Farm version (currently "1")
|
VERSION is the Garlic Farm version (currently "1")
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
@@ -167,11 +167,11 @@ All lines are teriminated with \r\n as required by HTTP.
|
|||||||
{% highlight %}
|
{% highlight %}
|
||||||
|
|
||||||
HTTP/1.1 101 Switching Protocols
|
HTTP/1.1 101 Switching Protocols
|
||||||
Connection: Upgrade
|
Connection: Upgrade
|
||||||
Upgrade: websocket
|
Upgrade: websocket
|
||||||
(Sec-Websocket-* headers)
|
(Sec-Websocket-* headers)
|
||||||
(any other headers ignored)
|
(any other headers ignored)
|
||||||
(blank line)
|
(blank line)
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user