UseAdditionalHttpHeaders preference for MunkiReport 5.8.0

Extra preference to consider

If you use authorization headers for your Mac clients to communicate with your MunkiReport server and are upgrading from MunkiReport 5.7.1 (which still uses Python 2) to MunkiReport 5.8.0 (which uses Python 3), be aware that there is an additional preference to set if you want your headers to be used: UseAdditionalHttpHeaders

You can see in the 5.7.1 code for reportcommon.py that the UseAdditionalHttpHeaders key isn’t used.

And then you can see in the 5.8.0 code for reportcommon.py that the UseAdditionalHttpHeaders key is now used.

Note about Python3 branch for modules

If you’re updating your MunkiReport modules, you’ll want to use the mr5-python3 branch until MunkiReport 6 comes out:

Acknowledgement

Special thanks to John Eberle at the MacAdmins Slack for that tip about which module branch to use.


Posted

in

by

Comments

2 responses to “UseAdditionalHttpHeaders preference for MunkiReport 5.8.0”

  1. Jakub Staubr Avatar
    Jakub Staubr

    I think this is not a new key but rather a bug. I reported it here https://github.com/munkireport/munkireport-php/issues/1515
    It was changed by mistake from UseMunkiAdditionalHttpHeaders and will be fixed back in 5.8.1

    1. alanysiu Avatar
      alanysiu

      That’s a very unfortunate bug. Yikes!

Leave a Reply

Your email address will not be published. Required fields are marked *