Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 79659 invoked from network); 16 Jan 2008 14:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 14:43:19 -0000 Received: (qmail 47227 invoked by uid 500); 16 Jan 2008 14:43:08 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 47200 invoked by uid 500); 16 Jan 2008 14:43:08 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 47179 invoked by uid 99); 16 Jan 2008 14:43:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 06:43:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 14:42:41 +0000 Received: by py-out-1112.google.com with SMTP id d37so480603pye.29 for ; Wed, 16 Jan 2008 06:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CaKEtVG/0QSGYh+NoiiBKMhKE3VnyguDObTMyv9JHR4=; b=wZCG3wfjB/HP4J2J8fwlYNqiiwOxcY/nkGkuaYSNHSJAg0THB9FPstFAcMuI5O9w08soewVQN/1Oj9/EJjdzNn9mWqMuJz/wgPPHewKqf5oI+hrll7nXOaw+47Khrtn9o33dRi9jzm+MIjBGnI4hwA054ggO4VXXNVY54uomKH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mkh6KSgB/jqtaiwH8UX0NT1ofXdh0ZajSQPX/7KotwqSC7vnkAf8FWxCV5YG+yGJSb2LkdNJM3dYWDSFnw2TjxoxkyH8zpKQljJ46f+bGQNAPlbPTpE4HiVB/5/60L/YSc3FHlLGcH8nQcINWYIl0EJp5r9PMXBYyCRfjpz0WcM= Received: by 10.141.136.19 with SMTP id o19mr587548rvn.250.1200494566122; Wed, 16 Jan 2008 06:42:46 -0800 (PST) Received: by 10.141.163.2 with HTTP; Wed, 16 Jan 2008 06:42:46 -0800 (PST) Message-ID: <1404e5910801160642g2ec6c452td648c72ae2017bf0@mail.gmail.com> Date: Wed, 16 Jan 2008 09:42:46 -0500 From: "Eric Covener" To: modules-dev@httpd.apache.org Subject: Re: [Module Dev] Sending http request In-Reply-To: <9dc7421e0801160636ge8d38e8h5c547bdf6206c91d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9dc7421e0801160636ge8d38e8h5c547bdf6206c91d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Jan 16, 2008 9:36 AM, karim Bendadda wrote: > Hi Everybody, > > Have you any idea of an apr function wish *sends an HTTP request to an > url*? I have a request request_rec and I need to send it to an http url : > http:\\url.com. I'd like something like : *send_request(request_rec,url); * > > P.S: On my last mail (Request External Redirection) I asked you to help me > for a redirection but I think that I need to send a new request! Sorry for > the inconvenience > nothing that simple probably, but mod_serf in trunk might be of interest: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_serf.c?view=co -- Eric Covener covener@gmail.com