Hi Everyone,
-- I use "SstHttpClient fetch: url" to download files both small and large. For example:
It works great! However it doesn't work with a URL like this: "file:///c:\test.txt". I don't know that it should and it may be out of place to make SstHttpClient work with that kind of URL but I think it would be cool if it did. I know that everyone at Instantiations is working hard adding really great improvements to the product and I don't think this falls into that category but if 99.5% of the code was already there and it wouldn't take much effort to add the feature, it would round out the function. What does everyone else think? Lou You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
On Wednesday, September 7, 2016 at 7:11:11 AM UTC-7, Louis LaBrunda wrote:
--
As much as I think your feature request is great, I think the proposal is wrong. :-) An HTTP client should work with HTTP protocols. Period. A suitable subclass or a sibling class (or classes) should be introduced for any other protocols.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Richard,
-- On Wednesday, September 7, 2016 at 1:00:14 PM UTC-4, Richard Sargent wrote:
I wouldn't argue with that. It was just the simplest way to describe the functionality. I could see some other class that implemented #fetch: and then called SstHttpClient or whatever based on the beginning of the URL. Since URL means Uniform Resource Locator it might be nice to have a class that could fetch the data for any valid URL. Lou
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
On Wednesday, September 7, 2016 at 10:39:10 AM UTC-7, Louis LaBrunda wrote:
--
I would say that the usual best practice would be a registry of support schemes, identifying the implementing client class to use. An alternative is to have the hierarchy answer the schemes each class supports. But that's weaker, since one cannot bring in a new class as a custom or enriched handler for a given scheme. It also imposes a hierarchy which need not be required.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |