kopia lustrzana https://github.com/cyoung/stratux
REST services getter/setter for settings completed without debug output
rodzic
9339fb21ed
commit
3606432f30
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue