[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.1[/tcpsend][/tcpconnect]and this...[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.htmlHTTP/1.0[UnURL]%0D%0A[/UnURL]HOST:www.benjerry.com[UnURL]%0D%0A[/UnURL]REFERER:www.benjerry.com/dev/tcp26.tpl[UnURL]%0D%0A[/UnURL]USER_AGENT: Mozilla/4.0(compatible; MSIE 5.5; Windows NT5.0)[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]and about 100 other permutations, with different line break types anddifferent attributes passed, but it's always just times out.-----Original Message-----From: Pedro Rivera [mailto:pedror@pssl.com]Sent: Thursday, July 11, 2002 1:06 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsPost your code as you have it and we'll take a look at it.-----Original Message-----From: ScottR@benjerry.com [mailto:ScottR@benjerry.com]Sent: Thursday, July 11, 2002 9:56 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsYes, I've tried that. I've tried using GET to access a simple test page, butit just times out. The page I am trying to POST to reponds fine to an HTMLfor doing the post, but not to the [tcpsend] POST.-----Original Message-----From: Pedro Rivera [mailto:pedror@pssl.com]Sent: Thursday, July 11, 2002 12:48 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsHave you tried hitting this page with your browser just to make sure that itdoes work?-----Original Message-----From: ScottR@benjerry.com [mailto:ScottR@benjerry.com]Sent: Thursday, July 11, 2002 9:34 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsSo, would you say the syntax I'm using isn't the issue, since I can connectto two other servers without a problem? Any idea on what on the other servercould cause the problem? I can't even get a response back to a simple GETrequest of a plain HTML page on this server.-----Original Message-----From: John Peacock [mailto:jpeacock@rowman.com]Sent: Thursday, July 11, 2002 12:15 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsJesse Williams-Proudman wrote:> Do I get free ice cream if I solve it? ;)Me too!> > I've always used [UnURL]%0D%0A[/UnURL]. I'm pretty sure it's not aplatform> dependant thing but rather just the standard type of linefeeds that a> webserver expects. I've posted tcpconnect code before... Let me dig itup:The applicable RFC's specify that the HTTP header must contain CR/LF pairsas an end of line delimiter, regardless of the local O/S EOL. And the HTTP headermust be finished with two CR/LF pairs. Once in the body of the HTTPtransfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCatunder NT does sometimes), which is just pure evil. ;~)John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.1[/tcpsend][/tcpconnect]and this...[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.htmlHTTP/1.0[unurl]%0D%0A[/UnURL]HOST:www.benjerry.com[unurl]%0D%0A[/UnURL]REFERER:www.benjerry.com/dev/tcp26.tpl[unurl]%0D%0A[/UnURL]USER_AGENT: Mozilla/4.0(compatible; MSIE 5.5; Windows NT5.0)[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]and about 100 other permutations, with different line break types anddifferent attributes passed, but it's always just times out.-----Original Message-----From: Pedro Rivera [mailto:pedror@pssl.com]Sent: Thursday, July 11, 2002 1:06 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsPost your code as you have it and we'll take a look at it.-----Original Message-----From: ScottR@benjerry.com [mailto:ScottR@benjerry.com]Sent: Thursday, July 11, 2002 9:56 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsYes, I've tried that. I've tried using GET to access a simple test page, butit just times out. The page I am trying to POST to reponds fine to an HTMLfor doing the post, but not to the [tcpsend] POST.-----Original Message-----From: Pedro Rivera [mailto:pedror@pssl.com]Sent: Thursday, July 11, 2002 12:48 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsHave you tried hitting this page with your browser just to make sure that itdoes work?-----Original Message-----From: ScottR@benjerry.com [mailto:ScottR@benjerry.com]Sent: Thursday, July 11, 2002 9:34 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsSo, would you say the syntax I'm using isn't the issue, since I can connectto two other servers without a problem? Any idea on what on the other servercould cause the problem? I can't even get a response back to a simple GETrequest of a plain HTML page on this server.-----Original Message-----From: John Peacock [mailto:jpeacock@rowman.com]Sent: Thursday, July 11, 2002 12:15 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect/tcpsend frustrationsJesse Williams-Proudman wrote:> Do I get free ice cream if I solve it? ;)Me too!> > I've always used [unurl]%0D%0A[/UnURL]. I'm pretty sure it's not aplatform> dependant thing but rather just the standard type of linefeeds that a> webserver expects. I've posted tcpconnect code before... Let me dig itup:The applicable RFC's specify that the HTTP header must contain CR/LF pairsas an end of line delimiter, regardless of the local O/S EOL. And the HTTP headermust be finished with two CR/LF pairs. Once in the body of the HTTPtransfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCatunder NT does sometimes), which is just pure evil. ;~)John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...