What operating system is running on the machine where the STAF HTTP service
registered?

I assume adding the FOLLOWREDIRECT option on your DOGET request does not
help?

The STAF HTTP service uses HttpClient 3.1 under the covers.  Unfortunately,
it appears that HttpClient does not make use of this environment variable
or system properties.  Proxy configuration must be set through an
HttpClient API (e.g. HostConfiguration.setProxy)  and the STAF HTTP service
does not provide currently support a way to do that.

I found this information about the HttpClient at
http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/200903.mbox/browser.

You can open a feature request for the STAF HTTP service to provide proxy
support.  I think that the HTTP service could do something like the
following to set a proxy.  We'd also have to provide a way for the STAF
HTTP service to get the proxy information.

// Set proxy
httpclient.getHostConfiguration().setProxy(host, port);

Or, you could try updating the STAF HTTP service yourself to provide proxy
support and contribute that back to the STAF project.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   Phil Rumble <prum...@au1.ibm.com>
To:     Sharon Lucas/Austin/i...@ibmus
Cc:     staf-users@lists.sourceforge.net
Date:   09/22/2010 07:43 PM
Subject:        Re: [staf-users] STAF HTTP service and HTTP Proxies



I am running the HTTP service on a system that all HTTP traffic must go
through a proxy. (no authenication required)

I want to use the HTTP service to perform a DOGET on an external site.

I have tried setting HTTP_PROXY=http://x.x.x.x:pppp in the STAFEnv.sh with
no success.

How do I get this to work ?




                                                                           
 Sharon Lucas/Austin/i...@ibmus                                             
                                                                           
                                                                           
 22/09/2010 23:01                                                       To 
                                         Phil Rumble/Australia/i...@ibmau   
                                                                        cc 
                                         staf-users@lists.sourceforge.net  
                                                                   Subject 
                                         Re: [staf-users] STAF HTTP        
                                         service and HTTP Proxies          
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





The HTTP service can do preemptive authentication so that when directed to
a secure site that exists on a host in the authentication hosts list, the
HTTP service will preemptively attempt to authenticate a secure session
with the site using the user and password associated with the host.

Is that what you're wanting to do?  If not, please provide more
information.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:                 Phil Rumble <prum...@au1.ibm.com>
To:                 staf-users@lists.sourceforge.net
Date:                 09/21/2010 09:49 PM
Subject:                 [staf-users] STAF HTTP service and HTTP Proxies



How do I configure the HTTP staf service to work behind a http proxy?

Thanks
------------------------------------------------------------------------------


Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------

Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to