forked from osbuild/osbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sources(curl): use json like output inside of custom record
When using `--write-out` we are not using %{json} because older curl (7.76) will write {"http_connect":000} which python cannot parse. So we had a custom `--write-out` with `\1xc` as "record" separators between the fields. This is a bit old-school and not very extensible so Achilleas had the idea to still use json but "define" our own subset via the variables that curl provides. This commit does that.
- Loading branch information
1 parent
e535877
commit 46db834
Showing
2 changed files
with
49 additions
and
20 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
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