<div>Hello, sorry for my ugly English =) .</div><div><br></div>How can I check the existence of the file <a href="http://www.qwerty.com/someFile.jpg">www.qwerty.com/someFile.jpg</a> ?<div>May be I need to write smth like that: </div>
<div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>request := WARequest</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>method: 'GET'</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>url: '<a href="http://www.qwerty.com/someFile.jpg">www.qwerty.com/someFile.jpg</a>' </div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>headers: Dictionary new</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>fields: Dictionary new</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>cookies: Dictionary new.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>response := aHandler handleRequest: request.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>self assert: response status = 200.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>.......</div><div>??</div><div>But I don't know type of handler I must use for such request.</div><div>Any ideas?</div></div>