Author Topic: inet.wget broken?  (Read 377 times)

Offline knodi

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
inet.wget broken?
« on: March 23, 2017, 01:11:29 am »
I'm running the following code after a scene:

Code: [Select]
local status, result = luup.inet.wget('', 5, 'my_name', 'secret_password')

The last two parameters are supposed to be HTTP Basic Auth username and password, per

In my old Vera Lite running UI5, I could run that code, and it worked, perfectly.  But now that I'm using a brand-new Vera Pro running UI7, the wget method no longer sends basic auth.  It still accepts the parameters, and it sends off the HTTP request, but does not include an HTTP_AUTHORIZATION header.

Has anybody else run into this, or found a workaround?  How can I make an http request in LUUP using basic auth, that actually works?
« Last Edit: March 23, 2017, 01:15:59 am by knodi »