On 2011-10-18 19:24, Jeremy Sandell wrote:
On Mon, Oct 17, 2011 at 2:11 PM, Jacob Carlborg d...@me.com
mailto:d...@me.com wrote:
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
On 2011-10-18 20:21, Adam D. Ruppe wrote:
Tale time, only tangentially on topic.
Today, I was coincidentally switching one of my work apps from
standard CGI to Fast CGI.
Almost trivial. Set up Apache, then build the program with
-version=fastcgi. Done.
Well, not 100% done. I had a piece of
AFAIK other http methods have nothing special. You have just to
implement on your code:
if (request.method == PUT)
{
...
...
}
if you need them. Am i wrong?
Il giorno mer, 19/10/2011 alle 08.36 +0200, Jacob Carlborg ha scritto:
On 2011-10-18 19:24, Jeremy Sandell wrote:
On Mon, Oct 17,
Andrea Fontana:
other http methods have nothing special
Indeed. The only thing that might get you is if the data's
content type is different than the default.
That's possible on POST too, though, so still nothing special.
My cgi library has an enum to tell you what the requestMethod is,
and it
Jacob Carlborg:
Why not just cache the generated HTML and let Apache handle it.
That sounds hard... configuring Apache to do anything beyond the most
trivial of tasks is a huge pain to me.
It is easy to call cgi.setCache(true); though.
Then it doesn't even need to start the application if the
On 2011-10-19 16:36, Adam Ruppe wrote:
Jacob Carlborg:
Why not just cache the generated HTML and let Apache handle it.
That sounds hard... configuring Apache to do anything beyond the most
trivial of tasks is a huge pain to me.
No, it's not that hard. Just add a couple of rewrite-rules that
On Mon, Oct 17, 2011 at 2:11 PM, Jacob Carlborg d...@me.com wrote:
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
request.get[]
request.post[]
request.cookie[]
request.headers[string]
then I
I've been having trouble with my news postings, so forgive me if
I said this before.
But my cgi.d module supports FastCGI via the C library, with the
same D interface as normal CGI or an embedded server:
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
Just
On 18.10.2011 19:24, Jeremy Sandell wrote:
On Mon, Oct 17, 2011 at 2:11 PM, Jacob Carlborg d...@me.com
mailto:d...@me.com wrote:
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
Tale time, only tangentially on topic.
Today, I was coincidentally switching one of my work apps from
standard CGI to Fast CGI.
Almost trivial. Set up Apache, then build the program with
-version=fastcgi. Done.
Well, not 100% done. I had a piece of static data in the app
that worked correctly
to implement.
Il giorno ven, 14/10/2011 alle 21.14 -0400, Jeremy Sandell ha scritto:
Hello!
Does anyone know if there's a D2 binding or implementation for
fastcgi as of yet?
Thanks!
Jeremy Sandell
to publish my code, btw it's a very easy
protocol to implement.
What about the rest of the HTTP methods?
Il giorno ven, 14/10/2011 alle 21.14 -0400, Jeremy Sandell ha scritto:
Hello!
Does anyone know if there's a D2 binding or implementation for fastcgi
as of yet?
Thanks!
Jeremy Sandell
--
/Jacob
a very
easy
protocol to implement.
What about the rest of the HTTP methods?
Il giorno ven, 14/10/2011 alle 21.14 -0400, Jeremy Sandell ha
scritto:
Hello!
Does anyone know if there's a D2 binding or implementation for
fastcgi
as of yet?
Thanks!
Jeremy Sandell
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
request.get[]
request.post[]
request.cookie[]
request.headers[string]
then I call a virtual function (to override on subclasses) like:
do(request,
Den 15-10-2011 03:14, Jeremy Sandell skrev:
Hello!
Does anyone know if there's a D2 binding or implementation for
fastcgi as of yet?
Thanks!
Jeremy Sandell
Adam Ruppe has a cgi module with some fastcgi in it afaik:
http://arsdnet.net/dcode/cgi.d
/Jonas
Hello!
Does anyone know if there's a D2 binding or implementation for fastcgi as
of yet?
Thanks!
Jeremy Sandell
On Fri, Oct 14, 2011 at 09:14:19PM -0400, Jeremy Sandell wrote:
Does anyone know if there's a D2 binding or implementation for fastcgi as
of yet?
My cgi.d wraps the C library for fast cgi
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
compile
17 matches
Mail list logo