| logRequestDebug(httputil.DumpRequest(r, true)) | logRequestDebug(httputil.DumpRequest(r, true)) | ||||
| if checkSignature(r) == false { | if checkSignature(r) == false { | ||||
| log.Println("signature of URL incorrect") | log.Println("signature of URL incorrect") | ||||
| w.WriteHeader(http.StatusUnauthorized) | |||||
| fmt.Fprintf(w, "") //empty string | fmt.Fprintf(w, "") //empty string | ||||
| return | return | ||||
| } | } |