Request bodies that are not url-encoded...

2007-01-05 Thread Kris Leech
Hello, If I submit a form the request body is url-encoded (ie. field1=value1&field2=value2) this string appears in request_rec's args field. What if the request has a different encoding in the body (eg. XML)? Does args still get populated? And if it does not how do I get at the request body s

Re: Request bodies that are not url-encoded...

2007-01-05 Thread Nick Kew
On Fri, 05 Jan 2007 10:54:44 + Kris Leech <[EMAIL PROTECTED]> wrote: > Hello, If I submit a form the request body is url-encoded (ie. > field1=value1&field2=value2) this string appears in request_rec's > args field. > > What if the request has a different encoding in the body (eg. XML)? The

Other languages than C

2007-01-05 Thread Joachim Zobel
Hi. Are there any compiled (preferrably functional) languages that be used to write apache modules? Such a language should be sufficiently efficient and it should not require a mod_. Any hints are appreciated. Joachim

Re: Other languages than C

2007-01-05 Thread John David Duncan
Hi, The requirements you state here are rather tough. It is not terribly difficult to write an Apache module in C++. The key data structures need to be declared with external "C" linkage, and the Apache API relies heavily on void pointers, for which the C++ compiler requires casts. Of course C

Re: Other languages than C

2007-01-05 Thread Brian McQueen
I want to see one in haskell - just because I like haskell, not because its a good idea. On 1/5/07, John David Duncan <[EMAIL PROTECTED]> wrote: Hi, The requirements you state here are rather tough. It is not terribly difficult to write an Apache module in C++. The key data structures need t

apr_bucket_split question...

2007-01-05 Thread Drew Bertola
Hi, If I split a bucket using: apr_bucket_split(b, offset) what exactly happens to the two pieces? My impression is that b is now the head piece (part before the split) and APR_BUCKET_NEXT(b) would return the tail piece. Correct? Also, how can I determine the length of the data held by th

Re: Other languages than C

2007-01-05 Thread Joachim Zobel
Am Freitag, den 05.01.2007, 13:40 -0800 schrieb John David Duncan: > The most powerful non-C interface into Apache is mod_perl. Perl code is > interpreted to byte code and can run inside the web server at near- > native > speed, mod_perl exposes Apache's complete C API, and yet Perl is also a > v

[no subject]

2007-01-05 Thread rm
On Fri, 2007-01-05 at 22:05 +0100, Joachim Zobel wrote: > Hi. > > Are there any compiled (preferrably functional) languages that be used > to write apache modules? Such a language should be sufficiently > efficient and it should not require a mod_. > > Any hints are appreciated. What platform?

Re: Other languages than C

2007-01-05 Thread rm
On Fri, 2007-01-05 at 22:05 +0100, Joachim Zobel wrote: > Hi. > > Are there any compiled (preferrably functional) languages that be used > to write apache modules? Such a language should be sufficiently > efficient and it should not require a mod_. > > Any hints are appreciated. What platform?

Re: Other languages than C

2007-01-05 Thread Stephan B. Nedregaard
On Jan 5, 2007, at 11:07 PM, Joachim Zobel wrote: Am Freitag, den 05.01.2007, 13:40 -0800 schrieb John David Duncan: The most powerful non-C interface into Apache is mod_perl. Perl code is interpreted to byte code and can run inside the web server at near- native speed, mod_perl exposes Apa

Re: Other languages than C

2007-01-05 Thread Joachim Zobel
Am Freitag, den 05.01.2007, 23:17 +0100 schrieb Stephan B. Nedregaard: > It might help if you told the list what you're looking for -- what > you want to accomplish with your module. For writing native Apache > modules, you can't really compete with C. Thats what I want. Writing native apache

Re: Other languages than C

2007-01-05 Thread Joachim Zobel
Am Freitag, den 05.01.2007, 14:06 -0800 schrieb Brian McQueen: > I want to see one in haskell - just because I like haskell, not > because its a good idea. I had hoped for that, too, but it looks like (thanks Ralf Mattes) that haskell can not do shared libraries. Sincerely, Joachim

Re: Other languages than C

2007-01-05 Thread Stephan B. Nedregaard
On Jan 5, 2007, at 11:53 PM, Joachim Zobel wrote: Am Freitag, den 05.01.2007, 23:17 +0100 schrieb Stephan B. Nedregaard: It might help if you told the list what you're looking for -- what you want to accomplish with your module. For writing native Apache modules, you can't really compete with