Hi, Deb. You are most welcome. I copied it out of one of Mark's Cfengine2, I imagine. So thanks to Mark!
Truly, -at 2010/3/16 Deb Heller-Evans <d...@es.net>: > Elegant! Thanks for sharing! > > > Kind Regards, > deb ツ > > Deb Heller-Evans 1 Cyclotron Road > Computer Systems Engineer Berkeley, CA 94720 > ESnet http://www.es.net/ Desk: 510/495-2243 > > > > On Mon, 15 Mar 2010 14:26:24 -0700, Aleksey Tsalolikhin wrote: >> Dear Neil, >> >> I ran into this a couple of days ago. >> >> The HTTP protocol requires a blank line at the end of the request. >> >> Here is an example using Cfengine 2 syntax: >> >> ReadTCP(www.google.com,80,"GET /cfengine_probe HTTP/1.0${n}${n}",1024) >> >> Best, >> -at >> >> >> On Sat, Mar 13, 2010 at 12:25 PM, Mark Burgess <mark.burg...@iu.hio.no> >> wrote: >>> >>> You need to read about the HTTP protocol. Your short GET string is not a >>> valid protocol >>> statement. >>> >>> Neil Watson wrote: >>>> On Sat, Mar 13, 2010 at 06:42:07PM +0100, Mark Burgess wrote: >>>> >>>>> See the example in the cfengine source unit_readtcp.cf -- the problem >>>>> is that you have not completed the protocol properly. >>>> >>>> This is the same as what is in the reference guide. The long GET string >>>> is not explained. Care to explain? >>>> >>> >>> -- >>> Mark Burgess >>> >>> ------------------------------------------------- >>> Professor of Network and System Administration >>> Oslo University College, Norway >>> >>> Personal Web: http://www.iu.hio.no/~mark >>> Office Telf : +47 22453272 >>> ------------------------------------------------- >>> _______________________________________________ >>> Help-cfengine mailing list >>> Help-cfengine@cfengine.org >>> https://cfengine.org/mailman/listinfo/help-cfengine >>> >> _______________________________________________ >> Help-cfengine mailing list >> Help-cfengine@cfengine.org >> https://cfengine.org/mailman/listinfo/help-cfengine > _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine