HTTP Cross-Origin Requests in JavaScript

HTTP Cross-Origin Requests in JavaScript

Since I started working with front-end development, a large part of the projects I’ve handled have been based on a separation of front-end and back-end, where the back-end only provides APIs, and the front-end renders the actual pages based on these APIs. I personally think this is a pretty good model, with clear division of … Read more

Accessing Domain Names via HTTP

Accessing Domain Names via HTTP

This experiment is a comprehensive test of HTTP fundamentals and DNS servers. 1, Upload the test file, which is the sogou search homepage downloaded from the internet. 2, First use the IP address range to determine if the HTTP service is functioning normally. 3, Modify the baidu zone file baidu.zone by changing the IP address. … Read more

12 Useful Tips for Using Fiddler HTTP Sniffer

12 Useful Tips for Using Fiddler HTTP Sniffer

Songqin Software Testing Adhere to Educational Principles Both Ask About Harvest and Cultivation When it comes to packet capturing, many people think it’s just about using a tool to capture data easily. Yesterday, during an interview for an Android reverse engineering position, I was directly told, “Packet capturing has no technical content.” Here, I must … Read more

High-Performance Flexible HTTP Router Based on Tree Structure

High-Performance Flexible HTTP Router Based on Tree Structure

Introduction httptreemux is a high-performance, flexible HTTP router based on a tree structure, primarily used for Go language development. The project is inspired by Julien Schmidt’s httprouter, but differs in implementation, particularly with more flexible routing rule design. httptreemux manages routes using a Patricia tree, ensuring high performance while providing a more convenient routing pattern … Read more

Understanding the Relationship Between TCP, Sockets, and HTTP

Understanding the Relationship Between TCP, Sockets, and HTTP

Recently, I needed to implement an HTTP interface for a project. So, I took this opportunity to explain the relationship between HTTP and sockets, as well as their connection to TCP. First, it’s essential to understand that in the network layer architecture, the HTTP protocol belongs to the application layer, while the TCP protocol belongs … Read more

Common Default Port Numbers for HTTP, HTTPS, and More

Common Default Port Numbers for HTTP, HTTPS, and More

“Welcome to connect with Miss Heart Moon to learn about recent class opening” ⑴. Common port numbers for HTTP protocol proxy servers: 80/8080/3128/8081/9080⑵. Common port number for SOCKS protocol proxy servers: 1080⑶. Common port number for FTP (File Transfer) protocol proxy servers: 21⑷. Common port for Telnet (remote login) protocol proxy servers: 23 The default … Read more

Understanding HTTP Connection Pools and Their Benefits

Understanding HTTP Connection Pools and Their Benefits

From: May’s Cangjie Cause During the 6.1 major promotion, a problem was discovered during duty hours: an RPC interface showed high response time (RT) during the peak order placement time from 0 to 2 AM (over 1s, even though this interface was optimized, an RT over this value is problematic; typically, even complex logic in … Read more

Why Do Some Websites Start With ‘www’ While Others Start With ‘http://’

Why Do Some Websites Start With 'www' While Others Start With 'http://'

It is thought that www and http:// (https://) are independent, both existing in all URLs. Some websites start with http:// while others start with https://, but the latter may be hidden; you don’t need to input it, and it will appear automatically. Therefore, currently, most people can just enter www to access a website, but … Read more

Understanding HTTP Proxies: Theory and Practice

Understanding HTTP Proxies: Theory and Practice

/ Today’s Tech News / Sam Altman, the CEO of OpenAI, known as the “father of OpenAI”, warned at a Brookings Institution discussion on artificial intelligence and geopolitics that the economic impact of AI may be greatly underestimated. Altman said, “What I am most worried about right now is what kind of changes socioeconomic changes … Read more