{"id":27312958,"url":"https://github.com/zjamali/webserv","last_synced_at":"2025-08-05T11:08:42.576Z","repository":{"id":38972161,"uuid":"462447348","full_name":"zjamali/webserv","owner":"zjamali","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-22T14:11:08.000Z","size":23202,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T09:59:55.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zjamali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-22T19:36:44.000Z","updated_at":"2022-04-20T02:52:25.000Z","dependencies_parsed_at":"2022-09-06T00:52:52.940Z","dependency_job_id":null,"html_url":"https://github.com/zjamali/webserv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zjamali/webserv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjamali%2Fwebserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjamali%2Fwebserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjamali%2Fwebserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjamali%2Fwebserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zjamali","download_url":"https://codeload.github.com/zjamali/webserv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zjamali%2Fwebserv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268883500,"owners_count":24323148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T06:49:56.986Z","updated_at":"2025-08-05T11:08:42.557Z","avatar_url":"https://github.com/zjamali.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webserv\n\n\u003e 42 project, Building our own web server in C++. A program capable of running an HTTP server, handling requests, and parsing configuration files.\n\nTeam : [abdait-m](https://github.com/nowl01) / [zjamali](https://github.com/zjamali) / [iltafah](https://github.com/iltafah)\n\n[Subject](https://github.com/zjamali/webserv/blob/main/subject/en.subject.pdf)\n\n## Main points:\nThis server handler the following HTTP features:\n- The basics of HTTP protocol (status line / request line, and a few headers).\n- GET, POST and DELETE methods.\n- HTTP response status codes (200, 404, 400 ....)\n- Error pages for the appropriate status code.\n- CGI.\n-  Cookies and session management.\n\n## Resources\n\n### Server setup\n\n[How to build a simple HTTP server](https://medium.com/from-the-scratch/http-server-what-do-you-need-to-know-to-build-a-simple-http-server-from-scratch-d1ef8945e4fa)\n\n[Simple server with C++](https://ncona.com/2019/04/building-a-simple-server-with-cpp/)\n\n[C++ Web Programming](https://www.tutorialspoint.com/cplusplus/cpp_web_programming.htm)\n\n### HTTP 1.1 (standard to follow) :\n\n[HTTP/1.1 (RFC 2616)](https://www.rfc-editor.org/rfc/rfc2616.html)\n\n[HTTP/1.1 : Message Syntax and Routing (RFC 7230)](https://www.rfc-editor.org/rfc/rfc7230.html)\n\n[HTTP/1.1 : Semantics and Content (RFC 7231)](https://www.rfc-editor.org/rfc/rfc7231.html)\n\n[HTTP/1.1 : Conditional Requests (RFC 7232)](https://www.rfc-editor.org/rfc/rfc7232.html)\n\n[HTTP/1.1 : Range Requests (RFC 7233)](https://www.rfc-editor.org/rfc/rfc7233.html)\n\n[HTTP/1.1 : Caching (RFC 7234)](https://www.rfc-editor.org/rfc/rfc7234.html)\n\n[HTTP/1.1 : Authentication (RFC 7235)](https://www.rfc-editor.org/rfc/rfc7235.html)\n\n### Other HTTP (legacy / future) :\n\n[HTTP/1.0 (RFC 1945)](https://www.rfc-editor.org/rfc/rfc1945.html)\n\n[HTTP/2 (RFC 7240)](https://www.rfc-editor.org/rfc/rfc7540.html)\n\n[HTTP/2 : Header Compression (RFC 7241)](https://www.rfc-editor.org/rfc/rfc7541.html)\n\n[FTP (RFC 959)](https://www.rfc-editor.org/rfc/rfc959.html)\n\n### Select and non-blocking\n\n[Select](https://www.lowtek.com/sockets/select.html)\n\n[Non-blocking I/O](https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzab6/xnonblock.htm)\n\n### CGI\n\n[CGI : Getting Started](http://www.mnuwer.dbasedeveloper.co.uk/dlearn/web/session01.htm)\n\n[CGI 1.1 Documentation](http://www.wijata.com/cgi/cgispec.html#4.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjamali%2Fwebserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzjamali%2Fwebserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzjamali%2Fwebserv/lists"}