Home » U++ Library support » U++ MT-multithreading and servers » Detect connection, valid URL, 404 page
Detect connection, valid URL, 404 page [message #14268] |
Thu, 21 February 2008 12:24 |
Engeor
Messages: 12 Registered: January 2008
|
Promising Member |
|
|
If I try to load a file that does not exists on the server then the http server returns 404 page. In this case HttpClient returns no error so I search returned buffer for 404 inside <TITLE> tag.
1) Is there any better way how to detect that file does not exists on the server?
2) How to detect non-existing server? (Another way that wait for timeout).
Engeor
|
|
|
|
|
Detect connection, valid URL, 404 page
By: Engeor on Thu, 21 February 2008 12:24
|
|
|
Re: Detect connection, valid URL, 404 page
By: Engeor on Thu, 21 February 2008 20:20
|
|
|
Re: Detect connection, valid URL, 404 page
By: zsolt on Thu, 21 February 2008 22:58
|
|
|
Re: Detect connection, valid URL, 404 page
By: Engeor on Wed, 27 February 2008 15:32
|
Goto Forum:
Current Time: Mon May 06 07:29:19 CEST 2024
Total time taken to generate the page: 0.02747 seconds
|