An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

# ![WebApp](https://github.com/Alexisrsz/HTTP-1.1-Client/blob/main/images/code.png)
# 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).