Skip to content

Commit 1e31049

Browse files
committed
Merge pull request github#296 from github/new-archive-link-redirect-token-format
More accurate Location header for Get archive link
2 parents 5ffa8ef + 96c57a2 commit 1e31049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3/repos/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ ref
271271

272272
### Response
273273

274-
<%= headers 302, :Location => 'http://github.com/me/myprivate/tarball/master?SSO=thistokenexpires' %>
274+
<%= headers 302, :Location => 'https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires' %>
275275

276276
To follow redirects with curl, use the `-L` switch:
277277

0 commit comments

Comments
 (0)