diff options
author | YAMADA Hideki <yamada.hideki@po.ntts.co.jp> | 2013-03-28 18:50:29 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-03-31 18:13:26 +0900 |
commit | d2f055eae1baf5dc2f6db104e658f0e9bb46938b (patch) | |
tree | 2bc4c8fd60666ea5e18e3b1b5e3f9d27cad33434 /bin | |
parent | 51baabb9ee9cffc7c49bc22dc202bc55feadb4e7 (diff) |
ryu-client: print http response
Signed-off-by: YAMADA Hideki <yamada.hideki@po.ntts.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ryu-client | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ryu-client b/bin/ryu-client index ea3a3eaa..9277964f 100755 --- a/bin/ryu-client +++ b/bin/ryu-client @@ -99,7 +99,9 @@ def client_test(): for (k, v) in commands.items()])) cmd = args[0] - commands[cmd](args) + res = commands[cmd](args) + if res: + print res.read() if __name__ == "__main__": client_test() |