#32982: Tighten up the check for status codes in HttpResponse
-------------------------------------+-------------------------------------
     Reporter:  Abhyudai             |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  HTTP handling        |                  Version:  dev
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  http, status code    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Adam Johnson):

 A concrete use case: htmx uses the non-standard status code 286 to mean
 "stop polling", and I use that from within Django:
 https://github.com/adamchainz/django-htmx
 #django_htmxhttphttpresponsestoppolling-typehttpresponse .

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32982#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.b8c72b3205972822e718ddbe4cb22e1b%40djangoproject.com.

Reply via email to