rclone/fs/rc
Nick Craig-Wood b3710c962e 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-10 16:34:46 +00:00
..
jobs docs: spelling: e.g. 2020-10-28 18:16:23 +00: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. 2020-12-27 15:05:41 +00:00
webgui plugins: Create plugins files only if webui is enabled. Fixes #4592. May fix #4600. 2020-12-27 15:05:41 +00:00
cache.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
cache_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
config.go rc: add context to flag Reload function #4685 2020-11-27 17:28:42 +00:00
config_test.go rc: add context to flag Reload function #4685 2020-11-27 17:28:42 +00:00
internal.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
internal_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
params.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
params_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +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