mirror of
https://github.com/xcat2/confluent.git
synced 2026-01-11 18:42:29 +00:00
Disable the HTML API explorer
It may be the case that no one uses it.
This commit is contained in:
@@ -1091,6 +1091,8 @@ def resourcehandler_backend(env, start_response):
|
||||
yield e.get_error_body()
|
||||
|
||||
def _assemble_html(responses, resource, querydict, url, extension):
|
||||
yield '<html><body>HTML API Explorer is discontinued, notify developers if you want this back</body></html>'
|
||||
return
|
||||
yield '<html><head><meta charset="UTF-8"><title>' \
|
||||
'Confluent REST Explorer: ' + url + '</title></head>' \
|
||||
'<body><form action="' + \
|
||||
|
||||
Reference in New Issue
Block a user