Hello,
I would like to create an Attribute to put on properties.
The properties that will contains this attribute will execute another method after setting a new value.
For example:
[MethodExecute(Log)]
[MethodExecute(Save)]
public string Name
{
get
{
return name;
}
set
...
I have written an application that (amongst other things) runs a local service in windows that acts as a SOCKS v5 proxy for Firefox.
I'm in the debugging phase right now and have found certain websites that don't work correctly. For example the Java Applet for Picture Uploading on Facebook.com fails because is is unable to lookup domain...
If I do this...
conn = new URL(urlString).openConnection();
System.out.println("Proxy? " + conn.usingProxy());
it prints
Proxy? false
The problem is, I am behind a proxy. Where does the JVM get its proxy information from on Windows? How do I set this up? All my other apps seem perfectly happy with my proxy.
...
How can I determine easily and programmatically whether a LocalJumpError arose from the caller's immediate failure to supply a needed block to a method, or from deeper within that method and others it invokes?
By "easily," I mean I'd like to avoid string inspection/regexen on $!.backtrace. A solution applicable to 1.8 and 1.9 is also p...
Hi,
Is someone able to assist in helping understand how to get this C# example working through my proxy server. I note there is a code sample at http://code.google.com/apis/gdata/articles/proxy%5Fsetup.html#dotnet, that provides some direction, however I'm having trouble regarding how to apply this to the DocListExporter example. In o...
Update:
If you've just arrived at this question, the general gist is that I'm trying to make a HttpWebRequest via a proxy, and I'm getting a 407 from our strange proxy server. IE,Firefox,Chrome all manage to negotiate the proxy sucessfully, as do Adobe Air applications. It may be important that the Google Chrome web installer actually fa...
I open the urls with
site = urllib2.urlopen('http://google.com')
And what I wanna do is connect the same way with a proxy
I got somwhere telling me
site = urllib2.urlopen('http://google.com', proxies={'http':'127.0.0.1'})
but that hadent worked either
I know urllib2 has something like a proxy handler but I cant recall that function
...
From Python, I would like to retrieve content from a web site via HTTPS with basic authentication. I need the content on disk. I am on an intranet, trusting the HTTPS server. Platform is Python 2.6.2 on Windows.
I have been playing around with urllib2, however did not succeed so far.
I have a solution running, calling wget via os.syste...
I'm looking for a way to sell someone a card at an event that will have a unique code that they will be able to use later in order to download a file (mp3, pdf, etc.) only one time and mask the true file location so a savvy person downloading the file won't be able to download the file more than once. It would be nice to host the file on...
I'm using the multiprocessing library in Python. I can see how to define that objects returned from functions should have proxies created, but I'd like to have objects in the current process turned into proxies so I can pass them as parameters.
For example, running the following script:
from multiprocessing import current_process
from...
I am trying to use a traffic web service. An example of the SOAP request is given below.
I have created a proxy class in c# using Wsdl.exe from the WSDL structure.
What I think I need to do now in somehow insert the 'authenticate' SOAP header into the SOAP structure for
the method call. I'm unsure how to add the header to the service ...
I am using NSURLConnection to make connections to a server, through a proxy that requires authentication this fails. The proxy settings are set under the WiFi, but the connection still fails. I believe there is a part of CFNetwork that can fix this, but this might be just for streams and I am unsure of how to implement it with NSURLConne...
Hi,
Having some issues connecting to internet from an application where a customer is using a proxy server.
The following code seems to work most other customers, including those that use proxies.
Dim wc As New WebClient
wc.UseDefaultCredentials = True
wc.Proxy = WebRequest.DefaultWebProxy
wc.Proxy.Credentials = wc.Credentials
Dim res...
I moved to new server and changed apache-tomcat connector from mod-jk2 to proxy-ajp.
Since I have this problem with file(xls file to be precise) uploading.
If I try file uploading through
http://my.project.net**:8080**/fileupload.jsp
it works just fine, but I want it to be secure and there is the problem,
if I use
https://my.project.net...
How to detect that a WebRequest failed due to a web proxy error and not a target web server error?
try
{
var request = (HttpWebRequest)WebRequest.Create("http://www.example.com");
request.Proxy = new WebProxy("localhost");
var response = request.GetResponse();
return response.GetResponseStream();
}
catch(WebException we...
Is it valid to return different text in the response header than the usual fare?
For example if the request is invalid, could I respond with:
HTTP/1.1 400 Here be Dragons
And have that header properly handled by proxies, etc?
...
Setup:
1. Joomla 1.5 website on a LAMP server (CentOS 5.2/Apache 2.2/PHP 5.2.9/mysql 5)
2. Joomla module for currency conversion added. Module uses google finance to convert currency
3. LAMP stack resides in the intranet behind a proxy. The server environment variables for http_proxy, yum.conf proxy have been setup, and kernel successful...
Hi,
I received callback interface from machine A and stored it on machine B.
I'd like to pass this callback interface (that is a proxy on machine B) to machine C.
Machines A, B and C uses WCF so proper interfaces are available.
The issue is when I run PassCallbackToDedicatedMachine(someCallback) method I receive exception like below...
When using the RSS Viewer webpart in SharePoint 2007, we can hit internal RSS feeds without issue but if we point to an external RSS feed we get the following error.
ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : "Proxy Authenticati...
Hello,
urllib2 doesn't seem to support HTTPS with proxy authentication in general, even less with NTLM authentication. Anyone knows if there is a patch somewhere for HTTPS on proxy with NTLM authentication.
Regards,
Laurent
...