NetTalk Central

Author Topic: NetWebClient : handling of general HTTP errors (like 402, 404, etc)  (Read 2912 times)

AtoB

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Email
Hi All,

in het NetWebClient.PageReceived method I can parse the HTTP error from the header, but is there a property for this?

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: NetWebClient : handling of general HTTP errors (like 402, 404, etc)
« Reply #1 on: October 24, 2022, 02:04:14 PM »
Try this in PageReceived after the parent call and see if it's useful:

Code: [Select]
   self.trace('pageReceived response = ' & self.ServerResponse)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetWebClient : handling of general HTTP errors (like 402, 404, etc)
« Reply #2 on: October 26, 2022, 04:14:17 AM »
NetWebclient.ServerResponse