Re: tcpconnect/tcpsend frustrations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41431
interpreted = N
texte = Jesse 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 a platform > dependant thing but rather just the standard type of linefeeds that a > webserver expects. I've posted tcpconnect code before... Let me dig it up:The applicable RFC's specify that the HTTP header must contain CR/LF pairs as an end of line delimiter, regardless of the local O/S EOL. And the HTTP header must be finished with two CR/LF pairs. Once in the body of the HTTP transfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCat under NT does sometimes), which is just pure evil. ;~)John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  2. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  3. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  4. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  5. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  6. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  7. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  8. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  9. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  10. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  11. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  12. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  13. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  14. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  15. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  16. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  17. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  18. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  19. tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
Jesse 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 a platform > dependant thing but rather just the standard type of linefeeds that a > webserver expects. I've posted tcpconnect code before... Let me dig it up:The applicable RFC's specify that the HTTP header must contain CR/LF pairs as an end of line delimiter, regardless of the local O/S EOL. And the HTTP header must be finished with two CR/LF pairs. Once in the body of the HTTP transfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCat under NT does sometimes), which is just pure evil. ;~)John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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:

[math] oddness .. (2002) [carts] and databases (1997) Access Denied! But why? (1997) Re:Merging databases (1997) select multiple (1997) Please please help (2001) WebCat2b13MacPlugIn - more [date] problems (1997) [WebDNA] WebDNA vs. php war ;-) (2010) shipcost and Formulas.db (2000) web delivery (1997) Storebuilder Seems to have just died (2003) Authorize.net questions ... (2003) NetSplat and WebCat2 (1997) can WC render sites out? (1997) wget in [shell] (2007) Math Bug - more testing (1999) [WebDNA] WebDNA and Google Geo Tagging (2012) multiple price line in formula.db (2004) form data submission gets truncated (1997) For those of you not on the WebCatalog Beta... (1997)