Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft committed Aug 17, 2021
1 parent 9b64244 commit 78b02b1
Show file tree
Hide file tree
Showing 2 changed files with 301 additions and 269 deletions.
7 changes: 1 addition & 6 deletions sdk/core/azure-core/azure/core/rest/_backcompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def serialize(self):

class _HttpResponseBackcompatMixinBase(object):

def body():
def body(self):
return self.content

@property
Expand All @@ -262,11 +262,6 @@ def internal_response(self):
def block_size(self):
return self._connection_data_block_size

def text(self, encoding=None):
if encoding:
self.encoding = encoding
return self.text

def _decode_parts(self, message, http_response_type, requests):
"""Rebuild an HTTP response from pure string."""
responses = []
Expand Down
Loading

0 comments on commit 78b02b1

Please sign in to comment.