[Newbies] String asURI contentStream - troubles

Petr Fischer petr.fischer at praguesoft.cz
Wed Jan 23 22:40:01 UTC 2008


Hi,

I need to get stream from general (user entered) URI.

1) 'file:///Users/pf/Documents' asURI contentStream - this works  
(instance of StandardFileStream)

2) 'http://www.seznam.cz/' asURI contentStream - error  
(MessageNotUnderstood: HTTPClient class>>contentStreamForURI:)

I need one way (method) for all types of URIs (http, file, ftp...).

Any ideas? Thanks, pf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080123/29c0671c/smime.bin


More information about the Beginners mailing list