Closed Osmose closed 8 years ago
This looks great to me. I'm curious if there are any other opinions or concerns from users of the lib. Maybe someone from MDN or SUMO or AMO could weigh in?
@mythmon @robhudson Thoughts?
Sumo has requests pinned at 2.7.0 right now, so we would still be compatible with this change. The code looks equivalent to me. I don't have a problem with this.
The existing stdlib use failed on Python 3 due to the returned data being a bytes object instead of a string that json.loads could accept. Requests handles the decoding for us!
@pmclanahan r? I also added a very small test of the management command, we could add more tests later but this basically solves all my own needs.