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+SandiegoHere'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:
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+SandiegoHere'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:
Speaking of TCPSend (1999)
[delete] problem (1997)
WCS Newbie question (1997)
Obscure Question of the day (1997)
[WebDNA] Safari & Cookies (2009)
[trim]?! (2004)
Install problem (Was Bad Install) (2003)
Snake Bites (1997)
[WebDNA] agree? --> [url] broken inside [redirect], on a (2009)
Summ=T Problem (1997)
Verify entry into a text field (2005)
TRAINING videos - Prove IT. (1998)
Formatting time output (2000)
Problems with cybercash (2000)
iTools5.0014 and up + WebCat = DownServer (2000)
more cookie crumbling (1999)
OT: Website Promotion (1998)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
emailer setup (1997)
Ok here is a question? (1997)