https://github.com/alexisrodriguezcs/http-1.1-client
A simple HTTP 1.1 Client that implements the GET method and includes the basics of the HTTP/1.1. The program implements a function that takes a URL and returns the body bytes by parsing, checking for the response of the server, and making a GET request. (Python)
https://github.com/alexisrodriguezcs/http-1.1-client
http python
Last synced: 10 months ago
JSON representation
A simple HTTP 1.1 Client that implements the GET method and includes the basics of the HTTP/1.1. The program implements a function that takes a URL and returns the body bytes by parsing, checking for the response of the server, and making a GET request. (Python)
- Host: GitHub
- URL: https://github.com/alexisrodriguezcs/http-1.1-client
- Owner: AlexisRodriguezCS
- Created: 2022-08-18T06:57:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-28T00:46:28.000Z (over 2 years ago)
- Last Synced: 2025-05-18T04:14:31.411Z (11 months ago)
- Topics: http, python
- Language: Python
- Homepage:
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 
# HTTP-1.1-Client
The URL Retriever Script is a Python tool designed for beginners to easily retrieve the contents of a web page using HTTP or HTTPS protocols. This script forms a GET request, establishes a socket connection to the provided URL, and captures the response body of the web document. The script intelligently extracts protocol, host, path, and port information from the URL, allowing users to retrieve specific parts of a webpage. The user-friendly command-line interface makes it straightforward to use the script by providing the URL as an argument. This tool is an ideal starting point for those seeking a simple way to access web content programmatically without diving into complex web scraping techniques.
## Demo
Here is a working live demo : https://replit.com/@Alexisrz/HTTP-11-Client#main.py
## Built with
- [Python](https://www.python.org/) - is a high-level, general-purpose programming language.
## To-do
- (suggestions are most welcome).