|
|
|
@ -40,15 +40,16 @@ curl -d "GET/hello" http://127.0.0.1:7379/
|
|
|
|
|
* Multi-server support, using consistent hashing.
|
|
|
|
|
* Send your ideas using the github tracker, on twitter [@yowgi](http://twitter.com/yowgi) or by mail to n.favrefelix@gmail.com.
|
|
|
|
|
* Add WebSocket support, allow cross-origin XHR.
|
|
|
|
|
* Recognize `If-None-Match`, and send ETags.
|
|
|
|
|
* Send an `ETag` header, and recognize `If-None-Match`.
|
|
|
|
|
|
|
|
|
|
# HTTP error codes
|
|
|
|
|
* Unknown HTTP verb: 405 Method Not Allowed
|
|
|
|
|
* Redis is unreachable: 503 Service Unavailable
|
|
|
|
|
* Could also be used:
|
|
|
|
|
* Timeout on the redis side: 503 Service Unavailable (this isn't supported by HiRedis yet).
|
|
|
|
|
* Missing key: 404 Not Found
|
|
|
|
|
* Unauthorized command (disabled in config file): 403 Forbidden
|
|
|
|
|
* Missing key: 404 Not Found.
|
|
|
|
|
* Unauthorized command (disabled in config file): 403 Forbidden.
|
|
|
|
|
* Matching ETag sent using `If-None-Match`: 304 Not Modified.
|
|
|
|
|
|
|
|
|
|
# Command format
|
|
|
|
|
The URI `/COMMAND/arg0/arg1/.../argN` executes the command on Redis and returns the response to the client. GET and POST are supported:
|
|
|
|
|