diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-08-15 01:53:17 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-08-26 17:20:21 -0300 |
commit | dd70bec46df36c98b959246394a438759d55ba05 (patch) | |
tree | e9928dde1ee47ffa55666b341ecbf371e37a7378 /scripts | |
parent | a734b994446a8c0c3cadf175a71f0d61d18c408b (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 'scripts')
0 files changed, 0 insertions, 0 deletions