Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully put the keyserver issues to a rest.
Fingers crossed. Wow, this is a mess. There is a keyserver software out there thinks it's a good idea to wrap the output in some blinky HTML, even if providing the mr (machine readable!) option. Instead it has some arbitrary criteria to decide whether to add this wrapper or not. The only criteria we have any influence on is a missing User-Agent header which is supposed to indicate an API client instead of a browser. All of this you can only find out if you have access to the server software. At least it's open source. Next comes the various HTTP backends that you need to convince to not send a User-Agent header. CURL allows to set it to NULL, PECL_HTTP, which uses CURL, not. Instead you have to use an empty string, which again you only can find out when ... yada, yada. I didn't even bother to test the fopen backend.
- Loading branch information
Showing
4 changed files
with
72 additions
and
17 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
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