mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 19:12:26 -05:00
12 lines
6.1 KiB
Plaintext
12 lines
6.1 KiB
Plaintext
https
|
|
GET
|
|
api.github.com
|
|
None
|
|
/repos/twitter/bootstrap/contents/js/bootstrap-affix.js
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
null
|
|
200
|
|
[('status', '200 OK'), ('x-ratelimit-remaining', '4989'), ('x-github-media-type', 'github.beta; format=json'), ('x-content-type-options', 'nosniff'), ('vary', 'Accept, Authorization, Cookie'), ('content-length', '5532'), ('server', 'GitHub.com'), ('last-modified', 'Fri, 08 Feb 2013 06:13:13 GMT'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"23daa8e0f42915d5ce84a6a117122afa"'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('date', 'Sat, 16 Feb 2013 17:47:30 GMT'), ('content-type', 'application/json; charset=utf-8')]
|
|
{"sha":"7595fdb06771c324e1c3e0a166fdeafa1933e0f5","size":3483,"name":"bootstrap-affix.js","path":"js/bootstrap-affix.js","type":"file","url":"https://api.github.com/repos/twitter/bootstrap/contents/js/bootstrap-affix.js","git_url":"https://api.github.com/repos/twitter/bootstrap/git/blobs/7595fdb06771c324e1c3e0a166fdeafa1933e0f5","html_url":"https://github.com/twitter/bootstrap/blob/master/js/bootstrap-affix.js","_links":{"self":"https://api.github.com/repos/twitter/bootstrap/contents/js/bootstrap-affix.js","git":"https://api.github.com/repos/twitter/bootstrap/git/blobs/7595fdb06771c324e1c3e0a166fdeafa1933e0f5","html":"https://github.com/twitter/bootstrap/blob/master/js/bootstrap-affix.js"},"content":"LyogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09\nPT09PT09PT09PT09PT09PQogKiBib290c3RyYXAtYWZmaXguanMgdjIuMy4w\nCiAqIGh0dHA6Ly90d2l0dGVyLmdpdGh1Yi5jb20vYm9vdHN0cmFwL2phdmFz\nY3J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