CenterForOpenScience/osf.io — pull request #1312 by icereval (2014-12-01 20:26:32+00:00)
Title: [hotfix] legacy-osffiles-api-routes

Handle legacy OSFFiles API `/api/v1` routes for `download_file` and `download_file_by_version`.

Tests to validate legacy url's redirect to new storage platform.

Relates to #226

```python
[
# Legacy routes for `download_file`
'/project//osffiles//',
'/project//node//osffiles//',
'/project//files/download//',
'/project//node//files/download//',

# Legacy routes for `download_file_by_version`
'/project//osffiles//version//',
'/project//node//osffiles//version//',
'/project//files/download//version//',
'/project//node//files/download//version//',
],
```