Skip to content

Commit

Permalink
Fix typo for Hander
Browse files Browse the repository at this point in the history
  • Loading branch information
aisk committed Jun 12, 2024
1 parent 07aa2d5 commit 5c1a30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thriftpy2/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __init__(self,

thttpserver = self

class RequestHander(http_server.BaseHTTPRequestHandler):
class RequestHandler(http_server.BaseHTTPRequestHandler):
# Don't care about the request path.

def do_POST(self):
Expand Down Expand Up @@ -153,7 +153,7 @@ def do_POST(self):
self.end_headers()
self.wfile.write(otrans.getvalue())

self.httpd = server_class(server_address, RequestHander)
self.httpd = server_class(server_address, RequestHandler)

def serve(self):
self.httpd.serve_forever()
Expand Down

0 comments on commit 5c1a30b

Please sign in to comment.