This is when you finally understand why a url starts with HTTP

This project is here to make you write your own HTTP server.

You will follow the real HTTP RFC and you will be able to test it with a real browser.

HTTP is one of the most used protocol on internet. Knowing its arcane will be useful, even if you won’t be working on a website.

HTTP 개요 - HTTP | MDN

학습 키워드


External functs 허용 함수

Socket programing

Headers (필수 구현)

네트워크의 원리

select

Nginx

CGI

Basic authentication

RFC 7230

RFC 7231

개요


  1. 소켓 프로그래밍을 통한 클라이언트와 서버간 통신 열기 (jaeylee)
    1. config 파일 설정을 통해서 nginx와 동일한 기능 구현하기 ( default.conf ⇒ 소켓통신전에 )
    2. Multi-plexingSelect (도와주는 함수), non block 처리, fd set
  2. request message (hwyu, junhpark) ⇒ code 감잡기 ⇒ 공부할 거 체크해서 분담시켜주고
    1. HTTP에 따른 파싱
      1. 메서드, URL, http 버전, 헤더, entity body 확인
    2. Processing
      1. method (get, post 8가지...)
      2. CGI 에 따른 ... 왔다갔다하고
      3. RFC 참고... ⇒ MDN 참고
      4. 404 error check
    3. 위의 동작을 바탕으로 리스폰스 메세지를 만들고.
      1. 정상 동작에 대한 status code (true, false) → 404 error
      2. Generate (HTTP 따라서 응답 메세지 작성)