[FASTCGI] Return application octet-stream data
noah at smartmediacorp.com
Tue Sep 18 17:57:43 EDT 2012
Other way around.
Thanks to your help, my fastcgi program now *returns* the binary data perfectly.
My new challenge is that it doesn't always properly read the input of binary data.
What would be a good way to setup the correct file handle to read in the binary post data?
On Sep 18, 2012, at 2:49 PM, Jay Sprenkle <jsprenkle at gmail.com> wrote:
> I don't know of any but I really haven't looked for them.
> I believe the various web servers have differences in how they parse the responses.
> It took forever for me to dig out some of the information about what Apache expects to receive back from a cgi program.
> cgicc does html and forms handling:
> On Tue, Sep 18, 2012 at 4:24 PM, Charles Thomas <charles_thomas at mac.com> wrote:
> Yeah... it's a real love-hate relationship for me. I love fixing the problems that I Hate getting.
> Speaking of headers and fastCGI, are there any classes that encapsulate the header logic into them? I know about the fastcgi library, and one for Qt (FastCgiQt), but I was wondering if there are any more higher level classes out there?
> Sent from my iPad
> On Sep 18, 2012, at 3:54 PM, Jay Sprenkle <jsprenkle at gmail.com> wrote:
>> My guess is that was the issue.
>> The other (terminating the string at the first zero byte) might have caused similar problems as well.
>> Computers are so fussy ;)
>> On Tue, Sep 18, 2012 at 3:49 PM, Charles Thomas <charles_thomas at mac.com> wrote:
>> i guess it would help if I read the entire mail message :)... so it was the missing Content-Length?
> "Why do you have that banana in your ear?"
> "To keep away the alligators."
> "But there are no alligators here."
> "See! It's working!"
> The Democrats are the left wing.
> The Republicans are the right wing.
> We all know how well a bird flies with just one wing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FastCGI-developers