Browse Source

that was a patch and a half

master
Fusl 1 year ago
parent
commit
1d6fc0fc46
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.go

+ 1
- 1
main.go View File

@@ -496,7 +496,7 @@ func (that *GlobalBackfeedManager) HandleLegacy(res http.ResponseWriter, req *ht
default:
WriteResponse(res, http.StatusBadRequest, fmt.Errorf("unsupported Content-Encoding: %s", req.Header.Get("Content-Encoding")))
}
scanner := bufio.NewScanner(req.Body)
scanner := bufio.NewScanner(body)
scanner.Split(splitter.Split)

statusCode := http.StatusNoContent


Loading…
Cancel
Save