serverinit: TODO stub for websocket support

Change-Id: Id195830adcdebb009ac2ed8e94c1a5287798f8fa
This commit is contained in:
Brad Fitzpatrick 2014-02-10 16:59:28 -08:00
parent 79cb116dbb
commit 3cc79570e8
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ func camliHandlerUsingStorage(req *http.Request, action string, storage blobserv
op = auth.OpGet
case "stat":
handler = handlers.CreateStatHandler(storage)
case "ws":
handler = nil // TODO: handlers.CreateSocketHandler(storage)
op = auth.OpDiscovery // rest of operation auth checks done in handler
default:
handler = handlers.CreateGetHandler(storage)
op = auth.OpGet