- Head http method
- Get http method
- wait for clients to make a connection, give the client socket to a thread for its resolution
- Gz compression for data sent
- basic header options implemented
- HTTP/1.1 -> 200 | 404
- Content-Lenght -> variable
- Content-Encoding -> gzip
- Cache-Control -> max-age=604800
- Content-Type -> appropriate MIME type
- Date -> UTC
- Connection -> Close
- Vary -> Accept-Encoding
- Server -> LeonardCustom/3.2 (Ubuntu64)
- Mime type retrived from hash map
- Query parameters parsing
- Form data parsing
- Abstraction of an http message
-
Notifications
You must be signed in to change notification settings - Fork 0
SNS Sticks And Stone. An https server built on top of the linux socket API and the ssl API, built for learning and maybe I'll use it on the future. Support TCP over IPv4, latest TLS method availabe on OpenSSL, mutilthreading, GET and POST methods and a simple cli interface
License
leomonta/sns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
SNS Sticks And Stone. An https server built on top of the linux socket API and the ssl API, built for learning and maybe I'll use it on the future. Support TCP over IPv4, latest TLS method availabe on OpenSSL, mutilthreading, GET and POST methods and a simple cli interface