Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » HttpRequest ignores server errors
Re: HttpRequest ignores server errors [message #48742 is a reply to message #48739] Fri, 08 September 2017 08:14 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, there are 3 levels that application can be interested in:

Socket error - IsSocketError
HTTP protocol error - IsFailure
Server returns 2xx response - IsSuccess

So what you are getting is inline with expectations.

Also note that Execute returns String (not Value, so IsError does not make sense), but if !IsSuccess(), returns String::Void().
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Code before Thread.Run() nor executed
Next Topic: how to broadcast in AsyncWebSocket?
Goto Forum:
  


Current Time: Wed Apr 24 03:35:51 CEST 2024

Total time taken to generate the page: 0.03944 seconds