Hello Marco,
In the current version of the CurlPlugin is is not possible to set or change a header field and I don't think the way Google Data authentication works is covered by one of the standard authentication methods (Basic, Digest, ...). The libcurl library contains the required function but the CurlPlugin doesn't make it accessible from Smalltalk.
I also need this functionality for the Cloudfork-AWS library I am working on. I am currently trying to figure out how to extend the CurlPlugin.
Jan.
2009/5/24 Carlos Crosetti
<[hidden email]>
The
Squeak HTTPSocket does this and I tested also with Pharo, only in HTTP mode no
SSL/TLS.
(HTTPSocket httpPost: anUrl
args: #()
user: (self user) passwd: (self password)).
replace "self user" and "self password" wih the methods or instVars you
have to retrieve your auth attributes
-----Mensaje original-----
De:
[hidden email]
[mailto:[hidden email]]En nombre de Marco
Schmidt
Enviado el: Domingo, 24 de Mayo de 2009 06:09
p.m.
Para: [hidden email]
Asunto:
[Pharo-project] Tip for using CurlPlugin against GData services
?
Has someone tried to use the CurlPlugin against an
google data service?
I'm searching for a feature/method to set the authentication field inside
the HTTP-Header.
I have no glue what method to use from the class Curl...
Has someone a recipe/tip for me?
Thanks in advance
Marco Schmidt
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project