{"id":23864,"library":"httpserver","title":"httpserver","description":"Asyncio implementation of an HTTP server. Version 1.1.0 provides a simple, async HTTP server built on asyncio. Release cadence is low; last release was 2023.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/thomwiggers/httpserver","tags":["asyncio","http","server"],"install":[{"cmd":"pip install httpserver","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from httpserver import HTTPServer","symbol":"run","correct":"from httpserver import run"}],"quickstart":{"code":"import os\nfrom httpserver import HTTPServer, RequestHandler\n\nclass HelloHandler(RequestHandler):\n    def do_GET(self):\n        self.send_response(200)\n        self.send_header('Content-type', 'text/plain')\n        self.end_headers()\n        self.wfile.write(b\"Hello, world!\")\n\nserver = HTTPServer(('localhost', 8080), HelloHandler)\nprint('Server running on http://localhost:8080')\nserver.serve_forever()","lang":"python","description":"Creates a simple HTTP server responding with 'Hello, world!' on GET requests."},"warnings":[{"fix":"Make handler methods async or offload blocking calls to executor.","message":"The server runs on the event loop; ensure your handler methods are not blocking or use async callbacks.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Evaluate if the library meets long-term needs.","message":"The library is minimally maintained. For production, consider aiohttp or sanic.","severity":"deprecated","affected_versions":"*"},{"fix":"Change from HTTPServer('localhost', 8080, ...) to HTTPServer(('localhost', 8080), ...).","message":"In version 1.1.0, the signature of HTTPServer changed: the first argument is now a tuple (host, port) instead of separate arguments.","severity":"breaking","affected_versions":"<1.1.0"}],"env_vars":null,"search_vec":"'1.1.0':9 '2023':26 'async':13 'asyncio':2,18,27 'built':16 'cadenc':20 'http':6,14,28 'httpserver':1 'implement':3 'last':23 'low':22 'provid':10 'releas':19,24 'server':7,15,29 'simpl':12 'version':8","created_at":"2026-05-01T08:10:01.868219+00:00","updated_at":"2026-05-01T08:10:01.868219+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.1.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/thomwiggers/httpserver","docs":null,"changelog":null,"pypi":"https://pypi.org/project/httpserver/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}