cli/pkg/cmd
Mislav Marohnić 40da8f9c69 Allow retrying HTTP/2 uploads for release assets
The `Request.GetBody` func allows the retry mechanism to reopen the file
that's being uploaded as the request body in case the body of the
previous request has already started to be read.

Hopefully fixes the error:

    http2: Transport: cannot retry err [stream error: stream ID 1; REFUSED_STREAM]
    after Request.Body was written; define Request.GetBody to avoid this error

Ref. d523dce5a7/http2/transport.go (L554)
2021-03-17 15:55:22 +01:00
..
actions Actions Support Phase 1 (#2923) 2021-03-16 13:59:34 -07:00
alias fix typo in docs of alias command 2021-03-08 15:11:31 +01:00
api Fix a typo in gh api 2021-03-08 22:14:29 +08:00
auth Use absolute path when configuring gh as git credential 2021-03-03 16:20:21 +01:00
completion Improve completion docs for bash, zsh, fish 2020-12-16 16:57:28 +01:00
config Fix USAGE help for some commands 2020-11-13 10:10:53 -03:00
factory Use absolute path when configuring gh as git credential 2021-03-03 16:20:21 +01:00
gist Merge pull request #3042 from g14a/bug/gist-binary-files 2021-03-04 13:01:54 -06:00
issue Remove unnecessary BodyFile field 2021-03-15 15:12:41 +01:00
job Actions Support Phase 1 (#2923) 2021-03-16 13:59:34 -07:00
pr Actions Support Phase 1 (#2923) 2021-03-16 13:59:34 -07:00
release Allow retrying HTTP/2 uploads for release assets 2021-03-17 15:55:22 +01:00
repo Merge pull request #2991 from cli/repo-create-prompt-change 2021-03-02 15:14:16 +01:00
root workflow list (#3245) 2021-03-16 16:12:27 -05:00
run Actions Support Phase 1 (#2923) 2021-03-16 13:59:34 -07:00
secret Merge pull request #2844 from cli/secret-set-fix 2021-01-25 11:34:59 -08:00
ssh-key Add ssh-key add command and publish ssh-key 2021-02-17 19:46:59 +01:00
version Fix link in version output 2020-12-17 12:37:22 +01:00
workflow workflow list (#3245) 2021-03-16 16:12:27 -05:00