Open joelburton opened 5 years ago
It's inconvenient to have to use .get_data(as_text=True) to test the textual representation of the response each time. This adds a convenience attribute, .text that lazily uses .get_data(as_text=True), similar to what .json does for JSON.
.get_data(as_text=True)
.text
.json
It's inconvenient to have to use
.get_data(as_text=True)
to test the textual representation of the response each time. This adds a convenience attribute,.text
that lazily uses.get_data(as_text=True)
, similar to what.json
does for JSON.