If the question makes little sense, it’s because I’m still figuring out why their server spits back “Content-Length:Required” every time we post to their server. The value is being assigned and everything looks fine, but it’s chocking on that bit.
My boss figured it would be a good idea to basically write a loop and keep hitting the vendors server until it accepts it, and basically write out to a file/email what it contained. I know that the best way to figure out what’s going on in the posting of information is to set the Detailed-Response to ‘true’. If that indeed is the case, then is it possible to store the contents of the ‘detailedresponse’ into a variable? Then I was going to basically run a pattern search in that variable to see if it said anywhere “Content-Length:Required” and have it continue until it doesn’t any more.
Is this is a good way to do it? Please let me know!
Thanks!
Kaustav
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
