You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0️⃣ Remove Empty class, use hip.Binary(b'') instead. #83
We currently have an Empty class, which is a Content implementation for no data.
This happens to exist because it's attempting to differentiate between requests/responses with Content-Length: 0 vs requests/responses with no Content-Length header. This just seems oddly confusing.
Drop this class, and just use Binary(b'') for the empty case.
Ensure that Binary(b'').headers() does not include a Content-Length header.
changed the title [-]Remove `Empty` class, use `hip.Binary(b'')` instead.[/-][+]0️⃣ Remove `Empty` class, use `hip.Binary(b'')` instead.[/+]on Oct 30, 2026
Activity
[-]Remove `Empty` class[/-][+]Remove `Empty` class, use `hip.Binary(b'')` instead.[/+][-]Remove `Empty` class, use `hip.Binary(b'')` instead.[/-][+]0️⃣ Remove `Empty` class, use `hip.Binary(b'')` instead.[/+]