Firmware upgrade now functional
This commit is contained in:
1 parent
e15f42a531
commit
39a5ff8a9a
5 files changed
+123
-107
No files matched your search
+1
-1
@@ -222,7 +222,7 @@ exports.response = (id, cwmpResponse, cookies = null) ->
|
||||
if cookies? and Object.keys(cookies).length > 0
|
||||
headers['Set-Cookie'] = cookiesToStr(cookies)
|
||||
|
||||
if cwmpResponse is null or Object.keys(cwmpResponse).length == 0
|
||||
if not cwmpResponse? or Object.keys(cwmpResponse).length == 0
|
||||
#console.log '>>> EMPTY RESPONSE'
|
||||
# send empty response
|
||||
headers['Content-Length'] = 0
|
||||
|
||||
Reference in new issue
Block a user