diff --git a/rpc.go b/rpc.go index 5a22ed5..e382391 100644 --- a/rpc.go +++ b/rpc.go @@ -249,7 +249,7 @@ func requestPayload(r *http.Request) ([]byte, error) { return nil, err } return raw.Marshal() - case strings.Contains(ct, "application/www-x-form-urlencoded"): + case strings.Contains(ct, "application/x-www-form-urlencoded"): r.ParseForm() // generate a new set of values from the form