[chore] update dependencies (#595)
* update dependencies * Bottom nav ui fix * Bottom nav ui fix2 * changelog * Backend logging
This commit is contained in:
1 parent
91b17fa4a4
commit
33c6e174ee
9 files changed
+98
-53
No files matched your search
@@ -279,6 +279,11 @@ namespace HttpClient
|
||||
return m
|
||||
end function
|
||||
|
||||
function LogCurlCommand() as HttpRequest
|
||||
m._logCurlCommand = true
|
||||
return m
|
||||
end function
|
||||
|
||||
function ToCurlCommand() as string
|
||||
command = `curl "${m.BuildUrl()}"`
|
||||
if m._method = "HEAD"
|
||||
@@ -350,9 +355,13 @@ namespace HttpClient
|
||||
LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity())
|
||||
|
||||
#if DEBUG
|
||||
? `════════ curl command ════════\n${m.ToCurlCommand()}\n══════════════════════════════`
|
||||
m._logCurlCommand = true
|
||||
#end if
|
||||
|
||||
if m._logCurlCommand = true
|
||||
LogInfo(`════════ curl command ════════\n${m.ToCurlCommand()}\n══════════════════════════════`)
|
||||
end if
|
||||
|
||||
if m._method = "POST"
|
||||
body = m._body
|
||||
if body = invalid
|
||||
|
||||
Reference in new issue
Block a user