API 1.5.0

- Faster parsing of information
- Requests are compressed when possible
- Fixed some EnterpriseEval files being shown for Enterprise
- Names of packages for builds 17017 and newer are shorter
This commit is contained in:
mkuba50
2017-10-27 21:38:31 +02:00
parent 29b9672b9b
commit 603b445b24
3 changed files with 49 additions and 34 deletions

View File

@ -16,7 +16,7 @@ limitations under the License.
*/
function uupApiVersion() {
return '1.4.1';
return '1.5.0';
}
function uupApiPrintBrand() {
@ -44,6 +44,7 @@ function sendWuPostRequest($url, $postData) {
curl_setopt($req, CURLOPT_HEADER, 0);
curl_setopt($req, CURLOPT_POST, 1);
curl_setopt($req, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($req, CURLOPT_ENCODING, '');
curl_setopt($req, CURLOPT_POSTFIELDS, $postData);
curl_setopt($req, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($req, CURLOPT_HTTPHEADER, array(