Changed Header value to lower case upgrade, seems to fix connection issues with SAP HCP IoT services. Changed setAuthorization(const char * auth) to send Auth header as is, without BASIC to enable oAuth tokens in header

This commit is contained in:
Thorsten Freitag
2016-05-09 00:11:42 +10:00
parent b3efb316ed
commit d36f7bb100
2 changed files with 10 additions and 3 deletions

View File

@ -181,6 +181,7 @@ typedef struct {
WSMessageHeader_t cWsHeaderDecode;
String base64Authorization; ///< Base64 encoded Auth request
String plainAuthorization; ///< Base64 encoded Auth request
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266_ASYNC)
String cHttpLine; ///< HTTP header lines