Giter Club home page Giter Club logo

Comments (10)

Kludex avatar Kludex commented on August 20, 2024 1

Can you give me some days to reply here? I'm on vacation, but I'm back next week.

from asgiref.

frankie567 avatar frankie567 commented on August 20, 2024 1

Sure! Enjoy your holidays ๐ŸŒด

from asgiref.

frankie567 avatar frankie567 commented on August 20, 2024 1

They can, if I understand correctly the spec. It's apparently supported by browsers API: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close

from asgiref.

Kludex avatar Kludex commented on August 20, 2024 1

Then I don't mind adding it.

from asgiref.

andrewgodwin avatar andrewgodwin commented on August 20, 2024

I do not remember a specific reason; it was likely either an oversight or the libraries I developed the spec against last decade didn't support it.

from asgiref.

frankie567 avatar frankie567 commented on August 20, 2024

Thank you for your feedback ๐Ÿ™‚ Then, do you see any inconvenience if I propose a PR to add this to the spec?

from asgiref.

frankie567 avatar frankie567 commented on August 20, 2024

Hey @Kludex ๐Ÿ‘‹ Did you have some time to think about this? ๐Ÿ™‚

from asgiref.

Kludex avatar Kludex commented on August 20, 2024

It looks like an oversight, but... No one complained in years... Do you need it?

from asgiref.

frankie567 avatar frankie567 commented on August 20, 2024

Well, not a really big issue but yes, I had one complain downstream in httpx-ws. Relevant context:

IMHO, it looks like a harmless addition that would make the spec a bit more compliant regarding WS spec. Happy to make the PR, if you agree ๐Ÿ™‚

from asgiref.

Kludex avatar Kludex commented on August 20, 2024

Do the WebSockets clients send the "reason"?

from asgiref.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.