User guide

Web Services, CLI Scripting and OpenFlow Using Python
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 11-19
AOSHeaders(Dict config)
config A a dictionary that contains the current configuration:
if config['json'] is True, then a mime-type of
vnd.alcatellucentaos+json will be requested; if it is False, then
vnd.alcatellucentaos+xml will be requested;
config['api'] will be used to specify a given version of the API.
Since the implementer can specify their own header object, they
are free to create their own object (child of Dict or, preferably,
child of AOSHeaders) which will provide its own additional
headers in key->value form.