Hi fellow-squeakers,
I was wondering how to retrieve content from a webserver (e.g. an image) togehter with the server's http response parameters. When I use HTTPClient/HTTPSocket I only get the MimeDocument containing the content specified by the URL, additional response parameters are dropped.
Is there an elegant way to get the content and all HTTP response parameters in the same go? Since the content can be quite large, I need to do the GET request only once..
Until now I ripped and modified HTTPSocket class >> #httpGetDocument: url args: args accept: mimeType request: requestString ,but this is a rather dirty way of doing it.
Any ideas?
cheers, Lothar
beginners@lists.squeakfoundation.org