Re: tcpsend formatting issue ...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56257
interpreted = N
texte = Never mind, I fixed it. :) >I keep getting errors like this: > >HTTP/1.1 400 Bad Request >Date: Thu, 19 Feb 2004 15:20:01 GMT >Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.16 >OpenSSL/0.9.7c PHP-CGI/0.1b PowWebBandwidth/1.0 PowWeb/1.0 >Connection: close >Content-Type: text/html; charset=iso-8859-1 > >Bad Request >Your browser sent a request that this server could not understand. >The request line contained invalid characters following the protocol string. > > > >Does anyone see what's wrong with this code that might cause the above error? > >[TCPConnect host=kengrome.com&port=80] >[TCPSend]POST /cgi-bin/process.cgi HTTP/1.1 User-Agent: Mozilla/4.0 >(compatible; MSIE 5.0; Mac_PowerPC) Opera 5.0 [en] Host: >kengrome.com Accept: text/html, image/png, image/jpeg, image/gif, >image/x-xbitmap, */* Accept-Encoding: deflate, gzip, x-gzip, >identity, *;q=0 Connection: Keep-Alive, TE Content-type: >application/x-www-form-urlencoded Content-length: 128 >email=zzzzzzz%40hotpop.com&email2=zzzzzzz%40hotpop.com&username=SecretSleeper&password=zzzzzzz&page=firstpage&submit=Get+Started[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] >[/TCPConnect] >-- > >Kenneth Grome >WebDNA Programmer >Outsource Service Provider >Phone: +6332 255-6591 > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpsend formatting issue ... ( Kenneth Grome 2004)
  2. tcpsend formatting issue ... ( Kenneth Grome 2004)
Never mind, I fixed it. :) >I keep getting errors like this: > >HTTP/1.1 400 Bad Request >Date: Thu, 19 Feb 2004 15:20:01 GMT >Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.16 >OpenSSL/0.9.7c PHP-CGI/0.1b PowWebBandwidth/1.0 PowWeb/1.0 >Connection: close >Content-Type: text/html; charset=iso-8859-1 > >Bad Request >Your browser sent a request that this server could not understand. >The request line contained invalid characters following the protocol string. > > > >Does anyone see what's wrong with this code that might cause the above error? > >[TCPConnect host=kengrome.com&port=80] >[tcpsend]POST /cgi-bin/process.cgi HTTP/1.1 User-Agent: Mozilla/4.0 >(compatible; MSIE 5.0; Mac_PowerPC) Opera 5.0 [en] Host: >kengrome.com Accept: text/html, image/png, image/jpeg, image/gif, >image/x-xbitmap, */* Accept-Encoding: deflate, gzip, x-gzip, >identity, *;q=0 Connection: Keep-Alive, TE Content-type: >application/x-www-form-urlencoded Content-length: 128 >email=zzzzzzz%40hotpop.com&email2=zzzzzzz%40hotpop.com&username=SecretSleeper&password=zzzzzzz&page=firstpage&submit=Get+Started[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] >[/TCPConnect] >-- > >Kenneth Grome >WebDNA Programmer >Outsource Service Provider >Phone: +6332 255-6591 > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

WebCatalog2 for NT Beta Request (1997) shipping help (1998) Search repost: (2000) Country & Ship-to address & other fields ? (1997) Re:trouble (1997) [WebDNA] isolatin-1 to utf-8 conversion (2013) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Fun with Dates - finally resolved but.... (1997) Checking two required fields (1998) OS X http.conf (2002) PayPal WebMerchant Templates (2006) Getting Emailer to send mail (1997) Information on Vieworders.tpl (1998) Database files are being destroyed (2002) when is date system date or order date? (1997) BugNote#1 - listdatabases fails on MacOS ... (2000) [Price] (1997) Calculating multiple shipping... (1997) [WebDNA] bug in sending & character to DOS (2010) Another bug to squash (WebCat2b13 Mac .acgi) (1997)