rclone/fs/rc
Nick Craig-Wood 703f6002dd rc: fix core/command giving 500 internal error - fixes #4914
Before this change calling core/command gave the error

    error: response object is required expecting *http.ResponseWriter value for key "_response" (was *http.response)

This was because the http.ResponseWriter is an interface not an object.

Removing the `*` fixes the problem.

This also indicates that this bit of code wasn't properly tested.
2021-01-13 16:48:18 +00:00
..
jobs test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
js js: add experimental interface for integrating rclone into browsers 2020-08-10 17:32:21 +01:00
rcflags rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
rcserver plugins: Create plugins files only if webui is enabled. Fixes #4592. May fix #4600. 2021-01-13 16:48:18 +00:00
webgui plugins: Create plugins files only if webui is enabled. Fixes #4592. May fix #4600. 2021-01-13 16:48:18 +00:00
cache.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
cache_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
config.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
config_test.go rc: fix unmarshalable http.AuthFn in options and put in test for marshalability 2019-08-10 16:22:17 +01:00
internal.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-13 16:48:18 +00:00
internal_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-13 16:48:18 +00:00
params.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-13 16:48:18 +00:00
params_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-13 16:48:18 +00:00
rc.go rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
rc_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
registry.go rc: add NeedsResponse for rc calls 2020-08-17 17:09:31 +01:00