summaryrefslogtreecommitdiff
path: root/client/setup.cfg
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-08-15 01:53:17 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-08-26 17:20:21 -0300
commitdd70bec46df36c98b959246394a438759d55ba05 (patch)
treee9928dde1ee47ffa55666b341ecbf371e37a7378 /client/setup.cfg
parenta734b994446a8c0c3cadf175a71f0d61d18c408b (diff)
[refactor] simplify entity and content type
_prepare was being used to concatenate and prepare request body to send or receive data on the format expected by the server. This behavior wasnt clear, so I added a new class to abstract this out. Content type and auth headers was being copied around methods. Now the request method accepts a content_type parameter to remove this duplication.
Diffstat (limited to 'client/setup.cfg')
0 files changed, 0 insertions, 0 deletions