Hi Adrei, excellent :)

BTW, for HTTP Client you should cc Andreas Raab   or squeak mailing list....

On Wed, Aug 4, 2010 at 6:08 PM, Andrei Stebakov <[email protected]> wrote:

> I also found that cookies were not correctly sent.
> Every cookie was sent with its own "Cookie: " header which is not correct.
> It should be in a format of "Cookies: name1=value1; name2=value2 "
> I temporarily fixed it in my current image, I'll try to send out the
> patch if it's not already fixed by someone else.
> Also cookie collection is too restrictive to the domain. Let's say
> your request goes to www.domain.com and in the cookies it'll have
> domain.com.
> Those cookies won't be collected since the current algorithm requires
> it to match from the start of the string (probably should only match
> the end of the string).
>
> Andrei
>
> On Sat, Jul 31, 2010 at 9:03 PM, Andrey Larionov <[email protected]>
> wrote:
> > I found WebClient resonably helpful. And in Pharo1.1 WebClient loaded
> > with Metacello passes all tests green on Linux. In more recent version
> > some test related to WebSockets are failed.
> > I found WebClient lack of multi-domain cookie support and response
> > encoding problems, but working on it right now.
> >
> > On Thu, Jul 29, 2010 at 20:06, Andrei Stebakov <[email protected]>
> wrote:
> >> I've been trying to find a library for Pharo/Squeak which would handle
> >> GET/POST requests with the ability to manage cookies and deal with
> >> https servers.
> >> The HTTPSocket that's included in Pharo doesn't have cookies support.
> >> I tried to find any library that handles cookies and there came up
> >> CurlPlugin and SWHTTPClient.
> >> SWHTTPClient page has a broken link to the source code
> >> (http://map.squeak.org/package/15f42ec1-e93e-4bcf-ab2b-6746ae9d413f).
> >> CurlPlugin package for Win32 that I found on the main project page
> >> fails most of the tests and can't retrieve any http data.
> >> I also found WebClient/WebServer library at
> >> http://www.squeaksource.com/@QY3MLGU4hU3c8qcE/2xQek_iM which also
> >> fails most tests after installation.
> >>
> >> I wonder what people in smalltalk community are using when they need
> >> to do some web scraping when they need to keep some session in
> >> cookies?
> >> What would be the best library to invest time into (I am very new to
> Smalltalk)?
> >>
> >> Thank you,
> >> Andrei
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> [email protected]
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to