mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-22 19:20:27 +00:00
Have apiclient preserve server response verbatim
Do not add extra \n to output that server would have already terminated.
This commit is contained in:
@@ -132,4 +132,4 @@ if __name__ == '__main__':
|
||||
sys.exit(0)
|
||||
if os.path.exists(sys.argv[-1]):
|
||||
data = open(sys.argv[-1]).read()
|
||||
print(HTTPSClient(json=json).grab_url(sys.argv[1], data).decode())
|
||||
sys.stdout.write(HTTPSClient(json=json).grab_url(sys.argv[1], data).decode())
|
||||
|
Reference in New Issue
Block a user