Die Suche ergab 3 Treffer
- Donnerstag 5. Januar 2012, 17:31
- Forum: Netzwerkprogrammierung
- Thema: Problem mit XML-RPC über Proxy mit Python 3.2.2
- Antworten: 4
- Zugriffe: 1405
Re: Problem mit XML-RPC über Proxy mit Python 3.2.2
jap, außerdem hat self.send_content(connection, request_body) gefehlt. Korrekt ist also: import xmlrpc.client, http.client class ProxiedTransport(xmlrpc.client.Transport): def set_proxy(self, proxy): self.proxy = proxy def make_connection(self, host): self.realhost = host h = http.client.HTTPConnect...
- Donnerstag 5. Januar 2012, 12:34
- Forum: Netzwerkprogrammierung
- Thema: Problem mit XML-RPC über Proxy mit Python 3.2.2
- Antworten: 4
- Zugriffe: 1405
Re: Problem mit XML-RPC über Proxy mit Python 3.2.2
Ok, Danke! Das bringt mich schon mal einen Schritt weiter. ...leider nur bis zur nächsten Fehlermeldung. Jetzt kriege ich: Traceback (most recent call last): File "D:\(...)\my-xmlrpc-client.py", line 19, in <module> print(server.currentTime.getCurrentTime()) File "C:\Python32\lib\xmlr...
- Mittwoch 4. Januar 2012, 18:07
- Forum: Netzwerkprogrammierung
- Thema: Problem mit XML-RPC über Proxy mit Python 3.2.2
- Antworten: 4
- Zugriffe: 1405
Problem mit XML-RPC über Proxy mit Python 3.2.2
Hallo Leute, ich bin relativ neu und unerfahren im Umgang mit Python. Ich habe eine Frage zum Wechsel auf Python 3 und hoffe ihr könnt mir helfen. Ich will einen XML-RPC Client schreiben. Mit Python 2.7.2 funktionert das alles auch schon super. Damit das Skript möglichst lange unverändert laufen kan...