Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'release/6.0.0' into feature/remove-pylint-pragmas
  • Loading branch information
bcb authored Aug 17, 2024
commit a8061f4ea5e93f889db923adb57e29e093b68384
5 changes: 2 additions & 3 deletions jsonrpcserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ class RequestHandler(BaseHTTPRequestHandler):

def do_POST(self) -> None:
"""Handle POST request"""
response = dispatch(
self.rfile.read(int(str(self.headers["Content-Length"]))).decode()
)
request = self.rfile.read(int(str(self.headers["Content-Length"]))).decode()
response = dispatch(request)
if response is not None:
self.send_response(200)
self.send_header("Content-type", "application/json")
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.