On Thu, 13 Dec 2001 14:09:04 -0600, Greg Saunders
<[EMAIL PROTECTED]> wrote:

>><cfset data = "[EMAIL PROTECTED]&Name=Osama&Action=Submit">
>><cfset obj.SendRN("POST /myTest.cfm HTTP/1.0")>
>><cfset obj.SendRN("Content-Type: application/x-www-form-urlencoded")>
>><cfset obj.SendRN("Content-Length: #len(data)#")>
>><cfset obj.SendRN("")>
>
>But I'm not sure what to do with the data.  I suspect something like this:
>
>><cfset obj.SendRN("RequestBody: #data#")>

It just follows the separating blank line without any fanfare, like:

<cfset obj.SendRN(data)>

>Maybe this is suppressing form data somehow?  I'll try Stretch later...

Apparently it's just returning the HEADer.

Try stretch, like Dave's mentioned a couple times. It's pretty
straightforward and cool. This is a real, unaltered capture of me
submitting your domain name to my cfm-based bookmarking app. (Ignore
the ie6-happy "HTTP/1.1 100 Continue" line and the blank lines least
thee be confused.)

You really don't HAVE to include much of any of this. It's almost all
optional. You don't really even have to mention the content length
beforehand.

You could probably get by with just a:

<cfset obj.SendRN("POST /myTest.cfm HTTP/1.0")>
<cfset obj.SendRN("")>

..if you were in a hurry.

Anyway... this post is becoming a bloatware.

--begin--
POST /search.cfm HTTP/1.1
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.0
Date: Thu, 13 Dec 2001 20:30:04 GMT


Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-gsarcade-launch, application/msword, */*
Referer: http://127.0.0.1:8080/search.cfm
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
Q312461)
Host: 127.0.0.1:8080
Content-Length: 112
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: TOGGLEQUICK=true; TOGGLETERSE=false; TOGGLEURL=false;
TOGGLEVERBOSE=false; FORMKEYWORD=intrafoundation

Protocol=http%3A%2F%2F&URL=www.gognitivearts.com&NewGrouping=cf+developers&Grouping=news%2C+world&AddURL=Add+URL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to