Re: Return application octet-stream data
Jay Sprenkle <[email protected]> Tue, 18 Sep 2012 16:49:48 -0500
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <CAG19Bi5G7Tak+VwXXZyrBj5+TPxXgHG1QNJ5kP1uiHQjPvidaA@mail.gmail.com> |
--===============4280685600152400691== Content-Type: multipart/alternative; boundary=20cf3074d64c824e2c04ca00de9d --20cf3074d64c824e2c04ca00de9d Content-Type: text/plain; charset=ISO-8859-1 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: http://www.gnu.org/s/*cgicc* On Tue, Sep 18, 2012 at 4:24 PM, Charles Thomas <[email protected]>wrote: > Yeah... it's a real love-hate relationship for me. I love fixing the > problems that I Hate getting. > > The weirdest one I have had with FastCGI was cross-domain transfer from a > javascript to fastcgi. With that one there were some weird requirements > concerning what headers I could and could not have in the request/response. > > 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? > > Tom > > Sent from my iPad > > On Sep 18, 2012, at 3:54 PM, Jay Sprenkle <[email protected]> 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 <[email protected]>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.* --20cf3074d64c824e2c04ca00de9d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I don't know of any but I really haven't looked for them.<div>I bel= ieve the various web servers have differences in how they parse the respons= es.</div><div>It took forever for me to dig out some of the information abo= ut what Apache expects to receive back from a cgi program.</div> <div><br></div><div>cgicc does html and forms handling:</div><div><span sty= le=3D"color:rgb(0,153,51);font-family:arial,sans-serif;line-height:15px;bac= kground-color:rgb(255,255,255)"><a href=3D"http://www.gnu.org/s/">http://ww= w.gnu.org/s/</a></span><b style=3D"color:rgb(0,153,51);font-family:arial,sa= ns-serif;line-height:15px;background-color:rgb(255,255,255)">cgicc</b> </div><div><br><div class=3D"gmail_quote">On Tue, Sep 18, 2012 at 4:24 PM, = Charles Thomas <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= om" target=3D"_blank">[email protected]</a>></span> wrote:<br><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex"> <div bgcolor=3D"#FFFFFF"><div>Yeah... it's a real love-hate relationshi= p for me. =A0I love fixing the problems that I Hate getting.</div><div><br>= </div><div>The weirdest one I have had with FastCGI was cross-domain transf= er from a javascript to fastcgi. =A0With that one there were some weird req= uirements concerning what headers I could and could not have in the request= /response.=A0</div> <div><br></div><div>Speaking of headers and fastCGI, are there any classes = that encapsulate the header logic into them? =A0I know about the fastcgi li= brary, and one for Qt =A0(FastCgiQt), but I was wondering if there are any = more higher level classes out there?</div> <div><br></div><div>Tom</div><div><br>Sent from my iPad</div><div><div clas= s=3D"h5"><div><br>On Sep 18, 2012, at 3:54 PM, Jay Sprenkle <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>> w= rote:<br> <br></div><div></div><blockquote type=3D"cite"><div>My guess is that was th= e issue.<div>The other (terminating the string at the first zero byte) migh= t have caused similar problems as well.</div><div>Computers are so fussy ;)= <br> <div><br><br><div class=3D"gmail_quote">On Tue, Sep 18, 2012 at 3:49 PM, Ch= arles Thomas <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF"><div>i guess it wou= ld help if I read the entire mail message :)... so it was the missing Conte= nt-Length?</div> <div><br><br></div></div></blockquote></div> </div></div> </div></blockquote></div></div></div></blockquote></div><br><br clear=3D"al= l"><div><br></div>-- <br>---<br><em style=3D"font-family:Verdana,Helvetica,= sans-serif;font-size:12px;background-color:rgb(255,255,255)">"Why do y= ou have that banana in your ear?"=A0<br> "To keep away the alligators."<br>"But there are no alligato= rs here."<br>"See! It's working!"</em> <div><em style=3D"font-family:Verdana,Helvetica,sans-serif;font-size:12px;b= ackground-color:rgb(255,255,255)">--</em></div><div><em style=3D"font-famil= y:Verdana,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,= 255)">The Democrats are the left wing.</em></div> <div><em style=3D"font-family:Verdana,Helvetica,sans-serif;font-size:12px;b= ackground-color:rgb(255,255,255)">The Republicans are the right wing.</em><= /div><div><em style=3D"font-family:Verdana,Helvetica,sans-serif;font-size:1= 2px;background-color:rgb(255,255,255)">We all know how well a bird flies wi= th just one wing.</em></div> <br> </div> --20cf3074d64c824e2c04ca00de9d-- --===============4280685600152400691== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --===============4280685600152400691==--