David Crawshaw
|
dea3ef0597
|
tsweb: make JSONHandlerFunc implement ReturnHandler, not http.Handler
This way something is capable of logging errors on the server.
Fixes #766
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
|
2020-09-17 09:07:32 -04:00 |
|
halulu
|
1835bb6f85
|
tsweb: rewrite JSONHandler without using reflect (#684)
Closes #656 #657
Signed-off-by: Zijie Lu <zijie@tailscale.com>
|
2020-08-18 17:37:01 -04:00 |
|
Zijie Lu
|
c9e40abfb8
|
tsweb: jsonhandler: fix content type
Signed-off-by: Zijie Lu <zijie@tailscale.com>
|
2020-07-14 15:27:26 -04:00 |
|
Zijie Lu
|
d1a30be275
|
tsweb: JSONHandler: supports HTTPError
Signed-off-by: Zijie Lu <zijie@tailscale.com>
|
2020-06-09 17:40:45 -04:00 |
|
Zijie Lu
|
5e1ee4be53
|
tsweb: fix JSONHandler nil response
Signed-off-by: Zijie Lu <zijie@tailscale.com>
|
2020-06-08 15:48:38 -04:00 |
|
halulu
|
1d2e497d47
|
tsweb: JSONHandler using reflect (#437)
Updates #395 #437
Signed-off-by: Zijie Lu <zijie@tailscale.com>
|
2020-06-05 00:10:50 -04:00 |
|