I wrote this a while back. I must admit I have not given it a complete test. I posted it here and asked for volunteers to test it. I got a couple of responses but they probably did not test all functionality
The proc was never meant to be “shrink-wrapped”. It does everything so it was expected to be a jumping off point where one would modify it to suit their own specific use and remove superflous code.
With that said, if you look at the comments in the header there is a statement there which states”
“BODY HEADERS
If the headers are needed as part of the output, e.g. HTTP/1.1 200 OK, etc
set the namespace variable BODYHEADER to 1″
If you still have trouble with it let me know and I will do what I can though I am a little bit limited now that I have “retired”