Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 66221 invoked from network); 16 Mar 2009 17:56:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2009 17:56:53 -0000 Received: (qmail 12263 invoked by uid 500); 16 Mar 2009 17:56:51 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 12240 invoked by uid 500); 16 Mar 2009 17:56:51 -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 12229 invoked by uid 99); 16 Mar 2009 17:56:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2009 10:56:51 -0700 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 sorinm@gmail.com designates 209.85.219.179 as permitted sender) Received: from [209.85.219.179] (HELO mail-ew0-f179.google.com) (209.85.219.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2009 17:56:45 +0000 Received: by ewy27 with SMTP id 27so3695862ewy.24 for ; Mon, 16 Mar 2009 10:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hiAOnTIma1KK6R+GLRs7XgLKN0z1UyU4YiNBN6G4LKk=; b=V4LlxfoNBToDuyHd2W1XuBuDQTLJbTpRxOAXXHRwzVQyWYA+yQVsQsDua+e8yC1yiW mbZH0W2525vWFjp5Cmw/Be6HGUr++a8KazqJzoPqhkmwweMaX+CxiYGAT0ZXFY0adu22 4pC09y1h6xogsygHrtTsxFRMbsEvaAJMm5E84= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jnVk+eJcwco/zROfePRExuncTd4ZlKsUMxqmwQYUam4oSaB3asRzoS6ZN9LjQOtKwV 6XH8kCv4viHFgB0xGFla1pxO/SY4hiMNpZpV6zuzVWOWHgfPy9Puae2JLD3y3f0NTYXN NugrGEXrcogh59HbWuRjT6OPFbZaJGvgreT6o= MIME-Version: 1.0 Received: by 10.210.133.2 with SMTP id g2mr1863740ebd.8.1237226184003; Mon, 16 Mar 2009 10:56:24 -0700 (PDT) In-Reply-To: <49BE8759.2030404@buanzo.com.ar> References: <49BE8759.2030404@buanzo.com.ar> Date: Mon, 16 Mar 2009 18:56:23 +0100 Message-ID: <20170a030903161056m774ed004mcbc49eab67900654@mail.gmail.com> Subject: Re: Make HTTP Request From: Sorin Manolache To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/3/16 Arturo 'Buanzo' Busleiman : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi! From within my module, I'd like to make an HTTP request from another HTTP server, get something > from it, and use the returned information. What's the best way to do this? You can use sub-requests. See ap_sub_req_method_uri and ap_run_sub_req.