Skip to content
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
@sjackman

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

ruby/ruby@b3dbeb6

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions