HTTP & tcl

alf amnon.friling at citicorp.com
Fri Feb 17 18:42:12 EST 2006


Cameron Laird wrote:
> In article <1140079405.290586.298270 at g44g2000cwa.googlegroups.com>,
> Fuzzyman <fuzzyman at gmail.com> wrote:
> >
> >alf wrote:
> >> Hi
> >>
> >> I would like to convert the wctpXml-1.3.py program to Tcl (line by
> >> line).
> >> See http://sourceforge.net/project/showfiles.php?group_id=29217
> >> This program sends pages using WCTP.  I know nothing about Python or
> >> XML but this program is small and seems straightforward and I am sure
> >> that I will be able to figure it out - with a little help ;-)
> >> Currently I am stuck in not being able to identify the Tcl equivalent
> >> of Python's "putrequest", as in:
> >> h = httplib.HTTP("wctp.skytel.com",80)
> >> h.putrequest("POST","/wctp")
> >>
> >
> >You'll get more help on Tcl syntax in a Tcl group. :-)
> >
> >Of the HTTP object, the Python documentation says :
> 			.
> 			.
> 			.
> >In other words - you're creating an HTTP connection and request. You'll
> >need to find an 'equivalent' library for Tcl and convert the request
> >using hte semantics of whatever library you choose.
> 			.
> 			.
> 			.
> If you don't immediately see what you're after in <URL:
> http://wiki.tcl.tk/http >, post in comp.lang.tcl, and
> we'll straighten this out.

Hi

I actually did post in comp.lang.tcl.  Please search for "wctp" -- the
3 results are all mine.  Apparently, I am the only person interested in
implementing it in Tcl.
As always, I appreciate your good will and help.

alf.




More information about the Python-list mailing list