These are chat archives for SmingHub/Sming

4th
Aug 2017
teicors
@teicors
Aug 04 2017 06:34

Hi @all,
I found a modification in the request handling from a post: in the 2.1.5 version

SmingCore/Network/HttpRequest.h: String getPostParameter(String parameterName, String defaultValue = ""); SmingCore/Network/HttpRequest.cpp:String HttpRequest::getPostParameter(String parameterName, String defaultValue /* = "" */)

instead in branch develop
SmingCore/Network/Http/HttpRequest.h: String getPostParameter(const String& name); SmingCore/Network/Http/HttpRequest.cpp:String HttpRequest::getPostParameter(const String& name)
the default value has been removed.
Is it the future behaviour ?