---
title: "Discussion on \"A Minimal ASGI Server\" | Hashnode"
description: "Discussion on \"A Minimal ASGI Server\". ASGI stands for Asynchronous Server Gateway Interface. It is a successor to Web Server Gateway Interface (WSGI). It adds support for async handlers. Both ASGI and WSGI servers act as middleware, a piece of technology that sits in between two other te..."
url: "https://hashnode.com/posts/a-minimal-asgi-server/66d4772e124428467ea3d50d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Minimal ASGI Server](https://blog.tomhuibregtse.com/a-minimal-asgi-server?utm_source=hashnode&utm_medium=feed)

ASGI stands for Asynchronous Server Gateway Interface. It is a successor to Web Server Gateway Interface (WSGI). It adds support for async handlers. Both ASGI and WSGI servers act as middleware, a piece of technology that sits in between two other te...

Sep 1, 2024 · 6 min read · blog.tomhuibregtse.com  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#asyncawait](https://hashnode.com/tag/asyncawait)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#asgi](https://hashnode.com/tag/asgi)

## Written by

[Tom Huibregtse](https://hashnode.com/@thuibr)

@thuibr

  
[View profile](https://hashnode.com/@thuibr)

Software Engineer

## Responses 2

Markdown supported · ⌘↵ to post

[Kahlan Guha](https://hashnode.com/@Kahlan)

[Sep 3, 2024](https://hashnode.com/posts/a-minimal-asgi-server/66d4772e124428467ea3d50d/comment/66d6df15dfda1dc8b4529ac3)

Nice article.

[Stuart Pullinger](https://hashnode.com/@stuartpullinger)

[Sep 2, 2024](https://hashnode.com/posts/a-minimal-asgi-server/66d4772e124428467ea3d50d/comment/66d53a1dbb766561d9f45408)

Thanks for the interesting read. In the implementation of send, it looks like the connection is closed on every call. Shouldn't this depend on whether there is more data?
