summaryrefslogtreecommitdiff
path: root/py/test/Ice/info/TestI.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/info/TestI.py')
-rw-r--r--py/test/Ice/info/TestI.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/test/Ice/info/TestI.py b/py/test/Ice/info/TestI.py
index e563c52c764..c0b266a7ba4 100644
--- a/py/test/Ice/info/TestI.py
+++ b/py/test/Ice/info/TestI.py
@@ -62,4 +62,8 @@ class MyDerivedClassI(Test.TestIntf):
ctx["remoteAddress"] = info.remoteAddress
ctx["remotePort"] = str(info.remotePort)
+ if isinstance(info, Ice.WSConnectionInfo):
+ for key, value in info.headers.items():
+ ctx["ws." + key] = value
+
return ctx