Use the correct method to get a license comm request's headers.

Review Request #14655 — Created Oct. 27, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

When checking on the status of a license, we attempt to get the
Content-Type header of a license request. This was done by accessing
the header as a dictionary lookup, but this isn't standard. Instead, we
should use the .get() method instead. This updates to use that.

Unit tests pass.

Manually tested license updates and communication.

Summary ID
Use the correct method to get a license comm request's headers.
When checking on the status of a license, we attempt to get the `Content-Type` header of a license request. This was done by accessing the header as a dictionary lookup, but this isn't standard. Instead, we should use the `.get()` method instead. This updates to use that.
d564169d7d2c9bc94292408bec33c8b1cec6a15f
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2.