k3s/pkg/client/restclient
Clayton Coleman 203cf2be6f
Use response content-type on restclient errors
Also allow a new AcceptContentTypes field to allow the client to ask for
a fallback serialization when getting responses from the server. This
allows a new client to ask for protobuf and JSON, falling back to JSON
when necessary.

The changes to request.go allow error responses from non-JSON servers to
be properly decoded.
2016-07-24 12:08:40 -04:00
..
client.go Remove Codec from ContentConfig. 2016-07-08 13:53:09 +02:00
client_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
config.go Use response content-type on restclient errors 2016-07-24 12:08:40 -04:00
config_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugin.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugin_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
request.go Use response content-type on restclient errors 2016-07-24 12:08:40 -04:00
request_test.go Use response content-type on restclient errors 2016-07-24 12:08:40 -04:00
transport.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
url_utils.go Fix problem specifying fqdn:port in command line 2016-07-05 10:10:12 -04:00
url_utils_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
urlbackoff.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
urlbackoff_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
versions.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00