This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
Should return a 404 for non-file (but file-like) URLs such as /:user/:repo/commit/* #179
Open
Description
Good chance it's something wrong that I've done here. Why is rawgit.com
redirecting to raw.githubusercontent.com
in this case?
❯❯❯ curl https://rawgit.com/ruby/ruby/commit/b3dbeb6e90f316584f70e33f6bfb9d83fa5f30d3.patch
<p>Moved Permanently. Redirecting to <a href="https://raw.githubusercontent.com/ruby/ruby/commit/b3dbeb6e90f316584f70e33f6bfb9d83fa5f30d3.patch">https://raw.githubusercontent.com/ruby/ruby/commit/b3dbeb6e90f316584f70e33f6bfb9d83fa5f30d3.patch</a></p>
❯❯❯ curl https://cdn.rawgit.com/ruby/ruby/commit/b3dbeb6e90f316584f70e33f6bfb9d83fa5f30d3.patch
404: Not Found