Assert updated with the returned status code instead of URL

Dependencies:   ublox-at-cellular-interface

Revision:
17:ac64a6b90925
Parent:
15:6f0a1ecc8cec
--- a/UbloxATCellularInterfaceExt.h	Mon Nov 12 18:35:20 2018 +0500
+++ b/UbloxATCellularInterfaceExt.h	Mon Jan 28 12:45:09 2019 +0500
@@ -203,6 +203,7 @@
      * @param httpCustomPar   the parameter for a user defined HTTP Content-Type.
      * @param buf             the buffer to read into.
      * @param len             the size of the buffer to read into.
+     * @param read_size       Zero initialized variable address
      * @return                NULL if successful, otherwise a pointer to
      *                        a Error struct containing the error class and error
      *                        code, see section Appendix A.B of
@@ -211,7 +212,7 @@
     Error * httpCommand(int httpProfile, HttpCmd httpCmd, const char* httpPath,
                         const char* rspFile, const char* sendStr,
                         int httpContentType, const char* httpCustomPar,
-                        char* buf, int len);
+                        char* buf, int len, int *read_size = NULL);
 
     /**********************************************************************
      * PUBLIC: FTP