-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy: (plz) Consolidate duplicate (pcase as ...) forms
This commit avoids duplicate headers by passing --dump-header with "-" as its value in all requests and then passing it again with the overriding "/dev/null" value forn HEAD requests which output to the terminal. For HEAD requests which output to a file with --output, --dump-header "-" is necessary since plz--http-status expects the process buffer to always contain the headers.
- Loading branch information
1 parent
a91994a
commit 570eae7
Showing
1 changed file
with
26 additions
and
56 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