Are there any equivalent classes in python for the for the following
java classes
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.protocol.Protocol;

Thanks

Recommended Answers

All 4 Replies

I don't Know what those modules do, but For it sounds to me like you need to take a look at socket module

http://www.google.co.tz/search?q=SOCKET+MODULE&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

Even if you don't know what they do... If you would have spent 3 seconds and read his post, obviously he's trying to interface with the HTTP protocol. Giving him a link to look up how to send raw data across the network using the sockets module is useless....

commented: no need for that. Just let it slide, he is trying to help +0

A
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.protocol.Protocol;
Thanks

You missed my point :(
I knew he was dealing with network protocols but didnt knew WHAT PROTOCOL do those modules support. Seeing the module name, I suggested he would check the sockets module.

Anyway, I don't know the modules and Java in general...so....I would not argue anymore :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.