mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
remove iter_json, don't want to commit to it
This commit is contained in:
@@ -558,11 +558,6 @@ class Response(object):
|
||||
except ValueError:
|
||||
return None
|
||||
|
||||
def iter_json(self):
|
||||
for line in self.iter_lines():
|
||||
if line: # filter out keep-alive new lines
|
||||
yield json.loads(line)
|
||||
|
||||
@property
|
||||
def links(self):
|
||||
"""Returns the parsed header links of the response, if any."""
|
||||
|
||||
@@ -182,9 +182,6 @@ class Session(SessionRedirectMixin):
|
||||
def __exit__(self, *args):
|
||||
self.close()
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
def request(self, method, url,
|
||||
params=None,
|
||||
data=None,
|
||||
|
||||
Reference in New Issue
Block a user