Currently SGrRestApiDevice adds a http-header 'Authorization: null' when no 'NoSecurityScheme' is selected within the EI-XML.
This can lead to problems with web-service endpoints such as the swisspower tariff endpoint or when adding pre-shared bearer token as header in the EI-XML directly:
The 'Authorization' header is then added twice:
Authorization: Bearer
Authorization: Bearer null
Currently SGrRestApiDevice adds a http-header 'Authorization: null' when no 'NoSecurityScheme' is selected within the EI-XML.
This can lead to problems with web-service endpoints such as the swisspower tariff endpoint or when adding pre-shared bearer token as header in the EI-XML directly:
The 'Authorization' header is then added twice: Authorization: Bearer
Authorization: Bearer null
TODO: avoid adding 'Authorization: Bearer null'.