Modify

Opened 3 weeks ago

Last modified 9 days ago

#4062 assigned Feature Request

InetRead() return http_statuscode on error

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

Attachments (0)

Change History (6)

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)

comment:5 Changed 9 days ago by mLipok

  • Version set to 3.3.18.0

comment:6 Changed 9 days ago by TicketCleanup

  • Version 3.3.18.0 deleted

Automatic ticket cleanup.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as assigned The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.