2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-15 04:07:51 +00:00

Add some header to the rest explorer interface

This commit is contained in:
Jarrod Johnson 2013-11-03 08:50:03 -05:00
parent 37f0c64c65
commit ef3c8cd0c8

View File

@ -237,7 +237,11 @@ def resourcehandler(env, start_response):
def _assemble_html(responses, resource):
yield '<html><body><form action="' + resource + '" method="post">'
yield '<html><head><title>'
yield 'Confluent REST Explorer: ' + resource + '</title></head>'
yield '<body><form action="' + resource + '" method="post">'
yield 'Only values that have their'
yield 'respective values honored by the confluent server.<hr>'
yield '<input type="hidden" name="restexplorerop" value="update">'
yield '<input type="hidden" name="restexplorerhonorkey" value="">'
for rsp in responses: