File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ def parse_request(self):
796
796
self .inheaders [b'transfer-encoding' ].lower () == b"chunked" ):
797
797
self .chunked_read = True
798
798
799
- uri_is_absolute_form = ( scheme or authority )
799
+ uri_is_absolute_form = scheme or authority
800
800
801
801
if self .method == b'OPTIONS' :
802
802
# TODO: cover this branch with tests
@@ -955,7 +955,7 @@ def respond(self):
955
955
self .conn .wfile .write (bytes_out )
956
956
957
957
# prep for next req cycle if it's available
958
- if self .h_conn .our_state == h11 .DONE and self .h_conn .their_state == h11 .DONE :
958
+ if self .h_conn .our_state is h11 .DONE and self .h_conn .their_state is h11 .DONE :
959
959
self .h_conn .start_next_cycle ()
960
960
self .close_connection = False
961
961
else :
You can’t perform that action at this time.
0 commit comments