The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
14 views

Choose the Transport Layer Security protocol - requests python

I am using using the following code to choose the transport layer security protocol while issuing a request to server. Could someone please review it. This is in reference to the following question: ...
3
votes
1answer
51 views

Return current URL

I was unable to find how to get current URL so here's what I've made. Brief tests didn't reveal anything bad. Your thoughts, educated opinions, suggestions, and comment on potential bugs or ...
1
vote
1answer
298 views

Python script to update a cPanel zone record with my public IP

This is my first attempt at using Python to send http requests. I want to keep a zone record on cPanel pointed at my home network's public IP. I'm just looking for some general feedback/suggestions. ...
2
votes
1answer
128 views

Improve HTTP get and post code

I had developed an application in which I hit several URLs and show data on mobile. But the problem is that it requires more time. If I check the same URL on Firebug tool I get a response in 2-3 ...
4
votes
2answers
73 views

Refactor Ruby method for getting domain?

How do I make this more Ruby like? I want to return the host, for example if the URL is "http://www.facebook.com" then I want to get 'facebook.com'. Any other sub-domains without 'www' should give ...
5
votes
2answers
173 views

Safely accepting a known SSL certificate with a different host name Android

My app communicates with a server over an internal network through https. The SSL certificate on this server is listed for the host as its external host name. I want to accept this certificate, but I ...