semplice server web che fornisce un'interfaccia HTTP a Redis
Webdis è un semplice server web che fornisce un'interfaccia HTTP a Redis.
Alcune funzionalità comprendono:
* gestione di richieste GET e POST,
* emissione di JSON in maniera predefinita, opzionalmente con un
parametro JSONP (?jsonp=miaFunzione),
* emissione del protocollo grezzo Redis 2.0 con suffisso .raw,
* pipeline HTTP 1.1 (50.000 richieste HTTP al secondo su una macchina
desktop con Linux),
* comandi ristretti in base all'intervallo IP (sottorete CIDR + maschera)
o ad HTTP Basic Auth, con restituzione di errori 403,
* autenticazione Redis possibile nel file di configurazione,
* Pub/Sub usando Transfer-Encoding: chunked, funziona anche con JSONP,
Webdis può essere usato anche come un server Comet,
* Content-Type personalizzato usando un'estensione di file predefinita o
con ?type=qualche/cosa,
* parametri URL-encoded per dati binari o barre,
* registri con livello di dettaglio configurabile,
* cross-origin XHR, se compilato con libevent2 (per gestire OPTIONS),
* caricamento di file con PUT,
* con l'output JSON, il valore restituito di INFO viene analizzato e
trasformato in un oggetto.