Re: HTTP "host" header

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51294
interpreted = N
texte = Marc Kaiwi wrote: > Here's what I have (that doesn't work) > NOTE: OS X WebDNA 4.x The document has UNIX style line feeds You cannot rely on your native linefeeds. All HTTP transactions must have exclusively CRLF line endings and nothing else (you were sending CRCRLF). That's why I wrote it as [CRLF]. Try this instead: [text]CRLF=[unURL]%0D%0A[/unURL][/text] [Text]Raw_Observation=[!] [/!][TCPConnect host=www.wrh.noaa.gov&port=80][!] [/!][TCPSend]GET /cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego HTTP/1.0[CRLF][!] [/!]Host: www.mydomain.com[CRLF][/TCPSend][!] [/!][/TCPConnect][/Text] [Raw_Observation] HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  2. Re: HTTP "host" header ( John Peacock 2003)
  3. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  4. Re: HTTP "host" header ( John Peacock 2003)
  5. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  6. Re: HTTP "host" header ( John Peacock 2003)
  7. Re: HTTP "host" header ( John Peacock 2003)
  8. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  9. Re: HTTP "host" header ( John Peacock 2003)
  10. HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
Marc Kaiwi wrote: > Here's what I have (that doesn't work) > NOTE: OS X WebDNA 4.x The document has UNIX style line feeds You cannot rely on your native linefeeds. All HTTP transactions must have exclusively CRLF line endings and nothing else (you were sending CRCRLF). That's why I wrote it as [CRLF]. Try this instead: [text]CRLF=[unurl]%0D%0A[/unURL][/text] [text]Raw_Observation=[!] [/!][TCPConnect host=www.wrh.noaa.gov&port=80][!] [/!][tcpsend]GET /cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego HTTP/1.0[CRLF][!] [/!]Host: www.mydomain.com[CRLF][/TCPSend][!] [/!][/TCPConnect][/Text] [Raw_Observation] HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ 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:

Plugin or CGI or both (1997) Re:listfiles-looking for slick solution (1997) WebDNA on Linux (2005) Out of the woodwork (2007) Emailer Chokes on bad address (1997) Include a big block of text (1997) Running webcat 6 on Windows XP Prof. (2005) Server crash (1997) SM: Grep Syntax? (2005) international time (1997) WebDNA dying or ... ? (2005) Members register & gain access system (1998) [Capitalize] (1998) Multiple catalog databases and showcart (1997) For those of you not on the WebCatalog Beta... (1997) .. more on sliding discounts... (1997) WebCat2: Items xx to xx shown, etc. (1997) Double Spacing in Mails from Sendmail (2002) Download Question (1997) Summ=T Problem (1997)