-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ws: don't send a body on 301 redirects
As with the previous commit doing the same for cockpit-tls, we don't need to send the body in the GET case and we must not send it in the HEAD case, so just never send it. Take some time to do a bit of autoptr cleanups while we're in here.
- Loading branch information
1 parent
b3ccaf6
commit 87483a9
Showing
1 changed file
with
5 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters