Remote Video Control Car via HTTP Server on Mobile – ESP32-CAM IoT Project

Remote Video Control Car via HTTP Server on Mobile - ESP32-CAM IoT Project

In this article, we will implement the following functionality: The mobile client, written in JavaScript, sends control signals to an HTTP server software written in C#, which then forwards the control signals to the video car. Upon receiving the control signals, the video car performs the corresponding actions. Simultaneously, the video car sends the captured … Read more

Creating a Frameworkless HTTP Server in Java Packaged as a JAR for Docker Placeholder

Creating a Frameworkless HTTP Server in Java Packaged as a JAR for Docker Placeholder

Java Code import com.sun.net.httpserver.HttpServer; import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.HttpExchange; import java.io.IOException; import java.io.OutputStream; import java.io.InputStreamReader; import java.io.BufferedReader; import java.net.InetSocketAddress; import java.util.HashMap; import java.util.Map; import java.util.stream.Collectors; public class SimpleHttpServer { public static void main(String[] args) throws IOException { HttpServer server = HttpServer.create(new InetSocketAddress(8080), 0); server.createContext("/", new EchoHandler()); server.setExecutor(null); server.start(); System.out.println("Server started on port 8080"); } static class … Read more

Forget SimpleHTTPServer! This Emerging Python Library Makes Uploading and Downloading Easier

Forget SimpleHTTPServer! This Emerging Python Library Makes Uploading and Downloading Easier

Introduction whttpserver is a simple HTTP server, similar to <span>python -m http.server</span>, but adds file upload and editing capabilities, thus solving the confusion of its inability to upload files. It can even start the server using the <span>whttpserver</span> command. Why This Tool is Needed Many company services are now accessed through jump servers, making it … Read more

Daphne: The Amazing Python Library for HTTP Servers!

Daphne: The Amazing Python Library for HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me Daphne: Let Your Django Asynchronous Journey Take Off! 🚀 Asynchronous programming has always been a love-hate topic in Python backend development. Especially when dealing with high-concurrency network applications, traditional synchronous servers often fall short. Today, we will talk about … Read more

Daphne: A Magical Python Library for HTTP Servers!

Daphne: A Magical Python Library for HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me Once, asynchronous web servers in Python were a headache. Various complex configurations and obscure concepts made many developers hesitant. But now, Daphne has emerged, turning this “problem” into a “simple task”! What is Daphne? Daphne is not an ordinary … Read more

Daphne: The Amazing Python Library for HTTP Servers!

Daphne: The Amazing Python Library for HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me Daphne, an HTTP server that makes your Python web applications soar! Daphne is not a fairy from Greek mythology; it is an asynchronous server designed to handle HTTP requests, specifically built for ASGI (Asynchronous Server Gateway Interface) applications. If … Read more

Qt6 Documentation Reading Notes – Simple Http Server Analysis

Qt6 Documentation Reading Notes - Simple Http Server Analysis

This blog post demonstrates how to create a simple HTTP service using Qt6. This example shows how to establish a server using the QHttpServer class. The server listens on a TCP port using the bind() function of QTcpServer and adds different URL handlers using the route() function. QSslConfiguration conf = QSslConfiguration::defaultConfiguration(); const auto sslCertificateChain = … Read more

Apache HTTP Server Path Traversal Vulnerability

Apache HTTP Server Path Traversal Vulnerability

Apache HTTP Server Path Traversal Vulnerability (CVE-2021-41773) 1. Vulnerability Overview CVE-2021-41773 is a high-risk path traversal vulnerability present in Apache HTTP Server version 2.4.49. Attackers can exploit this vulnerability to bypass the server’s path access restrictions and read or execute arbitrary files on the target server. If the server is configured to allow the execution … Read more