This repository has been archived on 2021-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
unix/http
2018-11-03 20:13:23 +01:00
..
public Add initial http structure 2018-10-22 08:55:15 +02:00
shared Add basic client socket config 2018-11-03 20:13:23 +01:00
client.c Add basic client socket config 2018-11-03 20:13:23 +01:00
Makefile Add comments to mygrep, begin implementing the http client 2018-11-03 16:51:24 +01:00
README.md Add basic client socket config 2018-11-03 20:13:23 +01:00
server.c Add initial http structure 2018-10-22 08:55:15 +02:00

http

The aim of these two modules is to implement a client and a server that partially implement HTTP 1.1

client

The client takes a URL as input, connects to the corresponding server on the corresponding port(80 by default) and requests the file specified in the URL. The transmitted content of that file is written to stdout, to a file or to a directory.

SYNOPSIS
client [-p PORT] [ -o FILE | -d DIR ] URL

EXAMPLE
client http://ivayloivanov.eu/en/

server

Not implemented yet

Note: The description is from the task I got from TU.