Questions tagged [https]
Hypertext Transfer Protocol Secure (HTTPS) is a combination of the Hypertext Transfer Protocol with the SSL/TLS protocol to provide encrypted communication and secure identification of a network web server.
28 questions
2
votes
1
answer
59
views
0
votes
1
answer
49
views
HTTP scraper for Python Package
I'm trying to make my first Python package as a learning experience. There's a lot of things that I suspect I am doing poorly, but this post is specifically about my HttpRequest class. I made this ...
2
votes
3
answers
4k
views
0
votes
1
answer
82
views
Understanding htaccess redirect to HTTPS and WWW [closed]
I have some questions about a code I found on stackoverflow. The code does what I want to do. Redirects to HTTPS and WWW when doesn't exist in URL. But, I want now to understand what I'm doing.
So, ...
5
votes
1
answer
759
views
HSTS Recommendations in .htaccess
Please see my previous post in the below hyperlink
I've updated my .htaccess file to account for an HSTS, along with many of the recommended changes. See the ...
4
votes
1
answer
1k
views
URL parser in C
Title should be self-explenatory. This is a simple URL parser I wrote in C. The function takes a URL from the user and produces a struct that contains the information that can be used to request the ...
4
votes
1
answer
224
views
.htaccess Recommendations
I have a personal website that's used primarily for fun. I upload images, videos and text that I want to share. An HTML submission form accepts questions and string submissions from users, which uses ...
7
votes
2
answers
5k
views
Decided to update HttpWebRequest to HttpClient
I updated my Instagram API and I read that HttpClient is now the preferred way in .NET Core 3.1. I would like to get a code review, because there are too many ...
3
votes
1
answer
167
views
Speeding up HTTPS API Call helper method
I am having severe problems with performance on a WEB API helper method, the performance is simply dreadful, 1-2 connections / second, I am trying to make 40k API calls and 5 hours later it is still ...
1
vote
1
answer
81
views
Simple function to Http GET some data
This is within a base class of a library, where several other classes inherit this one.
This seems like the simplest way of just getting some data, for now without timeout/errorhandling. This is ...
2
votes
1
answer
75
views
HTTP scraper efficiency with multiprocessing
I built this scraper for work that will take a csv list of firewalls from our network management system and scan a given list of HTTPS ports to see if the firewalls are accepting web requests on the ...
2
votes
1
answer
43
views
Handling HTTP status messages and multiple returns
I am new to Python and have written a function which calls an API and does some processing. Please review the code and explain what is the right and pythonic way.
...
1
vote
2
answers
184
views
Unlist all NuGet packages but the last version
I like to unlist my old NuGet packages to keep my catalog clean. However, after a couple of uploads it's always a pain to remove each single package manually so I thought I write a utility for it in ...
3
votes
1
answer
152
views
Userscript to redirect insecure pages to HTTPS
I am developing a userscript that redirects insecure pages (HTTP) to the https: version.
...
1
vote
3
answers
91
views
Always keep https in url
I wrote this recently, I thought I'd check if it was the best way to keep my url as an https at all times, any advice would be appreciated
...
2
votes
1
answer
313
views
Actively writing an HTTPS webserver in Python 3
Please help me improving this existing, working code. I am not asking you to change what it does, as it handles connections already perfectly as designed by my own specs. I just want the code to be ...
4
votes
1
answer
59
views
Redirecting HTTP requests to HTTPS
I have read a lot and spent a lot of hours trying to reach the right way to set a good htaccess in order to redirect an HTTP site to HTTPS.
There are a lot of tutorials on the Internet, even on Stack ...
2
votes
1
answer
979
views
Retrieving the lotto numbers - Node.js
I'm looking for feedback as to how I've structured the async calls, and If anything should be written differently.
endpoints.js
...
1
vote
1
answer
568
views
Twitch client that notifies me when a followed streamer comes online
I've been writing code for a little while but I'm a little slapdash. I'd like to get better so I've been having a glance at best practices, other peoples code and reading a whole lot. I'd appreciate ...
1
vote
1
answer
123
views
Making an HTTPS request more readable
I think the snippet is too nested having too many blocks. It needs to be refactored to make the logic more readable.
The try exception is the first level block
...
2
votes
1
answer
58
views
Forcing SSL and WWW using .htaccess
I would like to know if this code in .htaccess for forcing SSL and WWW in URL is correct, because with another code I usually get redirect loop, e.g. ...
7
votes
1
answer
5k
views
Let OpenSSL decide which TLS protocol version is used by default
I use Gem in a Box, a Ruby project that allows to create personal self-hosted gem repositories. Gem in a Box uses httpclient to connect to the gem repository. After ...
5
votes
0
answers
388
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
1
answer
133
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
1
answer
953
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. ...
4
votes
1
answer
5k
views
HTTP Get & Post code with slow performance
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
2
answers
109
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 ...
10
votes
2
answers
4k
views
Safely accepting a known SSL certificate with a different host name
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 ...