REST services getter/setter for settings completed without debug output

pull/65/head
bradanlane 2015-09-28 14:15:41 -04:00
rodzic 9339fb21ed
commit 3606432f30
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -125,8 +125,8 @@ func handleSettingsSetRequest(w http.ResponseWriter, r *http.Request) {
// for an OPTION method request, we return header without processing.
// this insures we are recognized as supporting cross-domain AJAX REST calls
if (r.Method == "POST") {
raw, _ := httputil.DumpRequest(r, true)
log.Printf("handleSettingsSetRequest:raw: %s\n", raw)
// raw, _ := httputil.DumpRequest(r, true)
// log.Printf("handleSettingsSetRequest:raw: %s\n", raw)
decoder := json.NewDecoder(r.Body);
for {