Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: Response/HTTPResponse.cpp
- Revision:
- 9:0ce800923eda
- Parent:
- 2:f8e393a81c25
--- a/Response/HTTPResponse.cpp Mon Feb 15 15:17:50 2016 +0000 +++ b/Response/HTTPResponse.cpp Wed Mar 16 15:04:46 2016 +0000 @@ -5,6 +5,9 @@ HTTPResponse::HTTPResponse(Payload * payload) : Payload(payload) { + if (payload == NULL) + return; + statusCode = GetData()[2] << 8 | GetData()[3]; if (statusCode >= 100) { contentLength = (GetData()[4] & 0x7F) << 8 | GetData()[5];