Document and ensure legacy HostingServiceClient.json_*() result types.

Review Request #11645 — Created June 3, 2021 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

This updates the documentation for the HostingServiceClient.json_*()
methods (json_post(), json_get(), json_delete()) to specifically
say that header keys/values are native strings.

It also adds unit tests that guarantee this as well. While here, some
issues with existing unit tests were also fixed.

This will help with ensuring proper usage without any confusion over
types.

Unit tests passed on Python 2 and 3.

Summary
Document and ensure legacy HostingServiceClient.json_*() result types.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (cbe0119)
Loading...