Re: Making HTTP requests

2009-06-04 Thread Michael Spiegle
Kevac Marko wrote: I am using CURL. On Mon, Jun 1, 2009 at 9:01 PM, Michael Spiegle wrote: Is there a proper/defined way to use mod_proxy for this, or should I just move forward with cURL? Thanks. After looking at libcurl's API, I'm going to give it a shot. Mike

Re: Making HTTP requests

2009-06-02 Thread Kevac Marko
On Tue, Jun 2, 2009 at 2:00 PM, Nick Kew wrote: > Your module has two basic options.  It can either turn the request into > a proxy request and do [whatever else] around it - c.f. mod_rewrite. > Or it can make subrequests to be proxied, as in mod_include.  The latter > requires a bit of configurat

Fwd: Making HTTP requests

2009-06-02 Thread Nick Kew
Heh. Lost in the ether (again). Begin forwarded message: From: Nick Kew Date: 1 June 2009 21:10:26 BDT To: modules-dev@httpd.apache.org Subject: Re: Making HTTP requests Michael Spiegle wrote: I'm writing a module where I need the ability to make HTTP requests to servers on my backen

Re: Making HTTP requests

2009-06-02 Thread Kevac Marko
I am using CURL. On Mon, Jun 1, 2009 at 9:01 PM, Michael Spiegle wrote: > Is there a proper/defined way to use mod_proxy for this, or should I just > move forward with cURL? -- Marko Kevac

Making HTTP requests

2009-06-01 Thread Michael Spiegle
I'm writing a module where I need the ability to make HTTP requests to servers on my backend for business logic. Just to get my code working, I wrote a very simple HTTP client library but it only handles basic HTTP/1.0 requests and only checks for return codes 200 and 404. I'd like to use a bett