Modify

Opened 2 months ago

Last modified 2 months ago

#4062 assigned Feature Request

InetRead() return http_statuscode on error

Reported by: J-Paul Mesnage 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

Attachments (0)

Change History (6)

comment:1 by J-Paul Mesnage, 2 months ago

Type: BugFeature Request

comment:2 by J-Paul Mesnage, 2 months ago

Owner: set to Jon
Status: newassigned

Fix sent to JON

comment:3 by TicketCleanup, 2 months ago

Version: 3.3.14.0

Automatic ticket cleanup.

comment:4 by mLipok, 2 months ago

Description: modified (diff)

comment:5 by mLipok, 2 months ago

Version: 3.3.18.0

comment:6 by TicketCleanup, 2 months ago

Version: 3.3.18.0

Automatic ticket cleanup.

Modify Ticket

Action
as assigned The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.