Re: HTTP "host" header

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51293
interpreted = N
texte = Drats, I can't get it! This TCPConnect thing always trips me up. Maybe someone can help. I'm trying to return the data from this page: http://www.wrh.noaa.gov/cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego Here's what I have (that doesn't work) NOTE: OS X WebDNA 4.x The document has UNIX style line feeds [text]CR=[unURL]%0D[/unURL][/text] [text]LF=[unURL]%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 [CR][LF]Host: www.mydomain.com [CR][LF][/TCPSend] [/TCPConnect][/Text] [Raw_Observation] Thanks, On Tuesday, June 24, 2003, at 07:12 AM, John Peacock wrote: > Marc Kaiwi wrote: >> Does anyone have an example of sending an "Host" HTTP header via >> TCPConnect/TCPsend? > > Add this to the [tcpconnect] context > > Host: hostname.domain.tld[CRLF] > > John > > Signed: Marc Kaiwi ------------------------------------------------------------- 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)
Drats, I can't get it! This TCPConnect thing always trips me up. Maybe someone can help. I'm trying to return the data from this page: http://www.wrh.noaa.gov/cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego Here's what I have (that doesn't work) NOTE: OS X WebDNA 4.x The document has UNIX style line feeds [text]CR=[unurl]%0D[/unURL][/text] [text]LF=[unurl]%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 [CR][LF]Host: www.mydomain.com [CR][LF][/TCPSend] [/TCPConnect][/Text] [Raw_Observation] Thanks, On Tuesday, June 24, 2003, at 07:12 AM, John Peacock wrote: > Marc Kaiwi wrote: >> Does anyone have an example of sending an "Host" HTTP header via >> TCPConnect/TCPsend? > > Add this to the [tcpconnect] context > > Host: hostname.domain.tld[CRLF] > > John > > Signed: Marc Kaiwi ------------------------------------------------------------- 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/ marc@kaiwi.com (Marc Kaiwi)

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:

Using EIMS instead of Emailer (1998) [BULK] [WebDNA] [BULK] which of these tags exist in 7.0 (2011) WebCatalog newbie (2000) https validation (2001) Setting up shop (1997) RE: 2.1 pricing? (1998) DataBaseHelper Flawed (1997) PIXO support (1997) Generating a random image, but avoiding repeated images. (1999) [LOOKUP] (1997) Verisigns SDK (pay flo pro) (2002) Security Issue (1997) 3.08 has trouble keeping the serial # ?? (2000) affiliate marketing program (1998) Emailer (WebCat2) (1997) locking variables? (2000) Multiple Passwords (1997) not interpreting Q (2001) Time since application launch (1999) Change to 5.0 per website licensing (2003)