Opened 3 weeks ago

Last modified 9 days ago

#4062 assigned Feature Request

InetRead() return http_statuscode on error — at Version 4

Reported by: Jpm Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description (last modified by mLipok)

return it in @extended on @error

#include <MsgBoxConstants.au3>

Example()

Func Example()
        Local $dData = InetRead("https://anydesk.com/x")
        ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $dData = ' & $dData & @CRLF & '>Error code: ' & @error & '    Extended code: ' & @extended & ' (0x' & Hex(@extended) & ')' & @CRLF) ;### Debug Console

        ; Display the results.
        MsgBox($MB_SYSTEMMODAL, "", "Error = " & @error & " extended = " & @extended)
EndFunc   ;==>Example

Change History (4)

comment:1 Changed 3 weeks ago by Jpm

  • Type changed from Bug to Feature Request

comment:2 Changed 3 weeks ago by Jpm

  • Owner set to Jon
  • Status changed from new to assigned

Fix sent to JON

comment:3 Changed 3 weeks ago by TicketCleanup

  • Version 3.3.14.0 deleted

Automatic ticket cleanup.

comment:4 Changed 9 days ago by mLipok

  • Description modified (diff)
Note: See TracTickets for help on using tickets.