proxy

python mechanize proxy question

I've got mechanize setup and working with python. I am adding support for using a proxy, but how do I check that I am actually using the proxy? Here is some code I am using: ip = 'some proxy ip address' br.set_proxies({"http://": ip} ) I started to wonder if it was working because just to do some testing I typed in: ip = 'asdfasd...

check that a script is actually using a proxy from a ip list

I have a list of proxy ip's that I want to use in one of my python scripts, but how do I verify that I am using one of the ip addresses from the list and not my own? I'm using mechanize, but any general explanation of how to do this would be helpful. This is the first time I have worked with proxies, so anything you can tell me will ...

JQuery: Hook and change ajax request

Hi, I'm new the JQuery. I am using a closed framework, that allows me to add code, but not to change some of the behavior. In order to add functionality, I need to hook into a specific Ajax request and either redirect it to my URL (so i can change the data there and be a proxy), or change the parameters of the request at the client side...

Python NTLM proxy authentication problem using python-ntlm

I'm trying to use urllib2 and python-ntlm to fetch an url behind and NTLM-authenticated proxy (although it should also suppoprt Basic and Digest authentication), and I'm getting a 407 HTTP error. The code is: import urlib2 from ntlm import HTTPNtlmAuthHandler from urlparse import urlparse, urlunparse user = { 'id' : '...

C# .Net 2.0 Automatic Configuration of proxy?

Hi Guys, I am working on a project to download files using .Net c# 2.0 SP1. One of the requirements of the project is to not seek any proxy details and automatically detect this from IE etc. Now i haven't worked with proxy before and hence i am a bit baffled. After hours of searching google, msdn etc, i have come across the following a...

IMAP library - Proxy support

I am writing an application using IMAP support. But the IMAP library that I am using does not support Proxy. Can anyone point me to such an open source library which supports proxy? And what IMAP library Thunderbird is using? I am using "C/C++". ...

"HTTP Error 409: Conflict" when using urllib.request.urlopen()

Under Python 3.1, when trying to run this code: from urllib import request def test(): request.urlopen("http://www.google.com") test() I get an HTTP 409 error. The stack trace is: Traceback (most recent call last): File "C:\Users\Beau\Python\pokescrape.py", line 6, in <module> test() File "C:\Users\Beau\Python\pokescra...

C++ change Opera proxy settings

I'm writing an http proxy program in C++ and I need it to automatically configure the default browser proxy settings to use my proxy. With IE i can just modify the registry, Chrome has a command line parameters that can be used, firefox has the prefs file, but I can't figure out how to do it for Opera. It needs to be compatible with all ...

Proxy between BasicHttpBinding and WsHttpBinding

Hi all, For an important customer, I've to implement a SoapClient in PHP to connect to a .Net webservice setup in WsHttpBinding. I know PHP SoapClient doesn't support it. So my goal is to develop a proxy software written in C# which will be a 'bridge' between BasicHttpBinding and WsHttpBinding. So PHP will communicate only with BasicHt...

How to proxy a page and step out of the loop?

I have a service (in PHP): A User browser accesses Private URL at the Service Service decodes Private URL and fetches page from a Client Server (Curl) Service modifies page from Server according to Private URL info in a database Response headers (content length, set-cookie[server-domain]) Add a <base> tag for relative href's Add javas...

Adding a web Proxy for a client created with NetCFSvcUtil with credentials.

We have an implemented a WCF service for sync framework communication with the guidance of http://wcfguidanceformobile.codeplex.com/ . The client in created by NetCFSvcUtil. We have run into a problem when web proxy support is needed. How can you enable credentials with it? On the HttpTransportBindingElement we can set the proxyadre...

can we do server-side "mashups" that edit html pages served through a proxy?

suppose that we have a complex web app that we don't want to modify directly (probably because it is too long to figure out, but also possibly because we don't even have the source for it). Instead, we want to add a few extra features to how some of its pages get displayed by directly manipulating the html pages that it generates. I thin...

Delphi - Indy (IDHTTP) Keep Session

Ok, I have Idhttp created dynamically like the following procedure TForm1.Button1Click(Sender: TObject); Var Resp : String; begin Resp := webSession('https://www.website.com'); // HTTPS site requires session to keep alive if Length(Resp)>0 then MessageDlg('Got the body ok',mtInformation,[mbOk],0); end; function TF...

how to send mail in php using smtp services with proxy support?

hi, i'am developing an application that sends mails using SMTP servers in PHP got success in sending mails using SMTP services but i could not find out how to use proxy servers in sending mails. could any one help me in this issue please? Thanks in advance. ...

how to build a python proxy server on google appengine

hi guys. I live in China and the Great Firewall blocked Youtube and twitter. So I want to build a proxy server on google appengine in python to bypass that. Does anyone know any open source GAE project on that? Thx~ ...

is it possible to change IE proxy settings from command line

I am looking for options which will allow me change connection proxy information of IE thru command line. ...

How to use PEAR behind proxy?

Initially I used the following with no success; export http_proxy=http://username@password:host:port Worth noting I don't get a connection error directly, instead; [root@pal ~]# sudo pear info PHP_CodeSniffer-1.2.1 No information found for `PHP_CodeSniffer-1.2.1' ...

How do I get my simple twisted proxy to work?

I am attempting to make use of the Twisted.Web framework. Notice the three line comments (#line1, #line2, #line3). I want to create a proxy (gateway?) that will forward a request to one of two servers depending on the url. If I uncomment either comment 1 or 2 (and comment the rest), the request is proxied to the correct server. However,...

Does Silverlight support setting a proxy for http requests?

Is it possible in Silverlight 3 to set a proxy url for http requests? I want to make a request outside of local network (intranet) and need to set a proxy to do this. ...

What kind of proxy is that?

Please consider the following scenario: Host1 has a public IP Host2 doesn't Hosts are in different networks. Host2 is running a web service (yes, Host2) Host1 is a client for it I understand that to provide accessibility to Host2 from Host1: 1) I can set up a VPN, but this is too much just for one communicating channel. 2) I can use ...