[Seaside] How to check file url (smth like isFileExists) in seaside (in case the file is not on localhost)

Micael Alastor micaelalastor at gmail.com
Fri Nov 13 15:21:56 UTC 2009


Hello, sorry for my ugly English =) .

How can I check the existence of the file www.qwerty.com/someFile.jpg ?
May be I need to write smth like that:

request := WARequest
method: 'GET'
url: 'www.qwerty.com/someFile.jpg'
headers: Dictionary new
fields: Dictionary new
cookies: Dictionary new.
response := aHandler handleRequest: request.
self assert: response status = 200.
.......
??
But I don't know type of handler I must use for such request.
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20091113/8248216a/attachment.htm


More information about the seaside mailing list