Skip to content

Commit e1f3dfd

Browse files
committed
fix (Tornado): decode request name in the monitoring
1 parent 47bf154 commit e1f3dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ def on_finish(self):
703703
"Location": self.request.uri,
704704
"ResponseTime": elapsedTime,
705705
# Take the method name from the POST call
706-
"MethodName": self.request.arguments.get("method", ["Unknown"])[0],
706+
"MethodName": self.request.arguments.get("method", ["Unknown"])[0].decode(),
707707
"Protocol": "https",
708708
"Status": monitoringRetStatus,
709709
}

0 commit comments

Comments
 (0)