[Seaside] Testing the state of one url

Joachim Tuchel jtuchel at objektfabrik.de
Sat Oct 11 12:44:30 UTC 2014


Dario,

what exactly do you mean with the state of a url? Whether a server responds at all, or if the http response contains a crtain http status code?

This is only loosely related to Seaside. What you'd have to do isto send a simple http request to the url ans check the esulting http response. 

What dialect are you on? The http client implementations between e.g. Pharo and VA differ. But seinding http requests is simple in all current smalltalks...

Joachim

dtrussardi at tiscali.it schrieb:

>Ciao,
>
>	i need to test  the state of one url.
>
>	How i can send the request to the specific url and manage the answer for understand the state.
>
>	I search in the Seaside test but i don't find any example about it.
>
>	Thank for any consideration,
>
>
>		Dario_______________________________________________
>seaside mailing list
>seaside at lists.squeakfoundation.org
>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list