Skip to content

Commit 96c57a2

Browse files
committed
More accurate Location header for Get archive link
1 parent 5ffa8ef commit 96c57a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)