Commit ec035ed2 authored by Denis Bilenko's avatar Denis Bilenko

remove unnecessary checks

parent 9d64f573
......@@ -191,8 +191,6 @@ cdef class http_request:
property remote:
def __get__(self):
if not self.__obj:
raise HttpRequestDeleted
return (self.remote_host, self.remote_port)
property kind:
......@@ -263,8 +261,6 @@ cdef class http_request:
property response:
def __get__(self):
if not self.__obj:
raise HttpRequestDeleted
return (self.response_code, self.response_code_line)
property chunked:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment