rclone/fs/rc
Nick Craig-Wood 89b4ccbbfa rcserver: fix 500 error when marshalling errors from core/command
Before this change attempting to return an error from core/command
failed with a 500 error and a message about unmarshable types.

This is because it was attempting to marshal the input parameters
which get _response added to them which contains an unmarshalable
field.

This was fixed by using the original parameters in the error response
rather than the one modified during the error handling.

This also adds end to end tests for the streaming facilities as used
in core/command.
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 rcserver: fix 500 error when marshalling errors from core/command 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 fs/rc: add Copy method to rc.Params 2021-01-13 16:48:18 +00:00
params_test.go fs/rc: add Copy method to rc.Params 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