Modernize hostingsvcs.service.URLRequest

Review Request #8909 - Created April 21, 2017 and submitted

Barret Rennie
Review Board
release-2.5.x
8910
reviewboard

The URLRequest initializer was using a mutable object ({}) for its
default value of its headers parameter, which would persist to other
requests if it was modified. We now use a default value of None and
change it to an empty dict in the method call.

Documentation has been added for the class and its methods.

Built the docs and read through them.
Ran unit tests.

  • 0
  • 0
  • 4
  • 0
  • 4
Description From Last Updated
Christian Hammond
Barret Rennie
David Trowbridge
David Trowbridge
Barret Rennie
Barret Rennie
David Trowbridge
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (0723f45)
Loading...