canvas-lms/gems/google_drive
Nick Houle 9ef32e7a34 Follow redirect url for Google Doc plugin
Fixes: DIG-1761

Note:
- According to google drive docs, a 307 temporary redirect is a
  known response that should trigger following the redirect:
  https://cloud.google.com/storage/docs/json_api/v1/status-codes#307_Temporary_Redirect

Test plan:
- Enable Google Drive plugin
- Confirm google plugin submissions work as expected

Change-Id: Ifb5d2716c36461fad66e400625e01655af06186d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/232432
Reviewed-by: Jeremy Slade <jslade@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: James Butters <jbutters@instructure.com>
QA-Review: Kwok Lam <klam@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2020-04-08 18:15:17 +00:00
..
lib Follow redirect url for Google Doc plugin 2020-04-08 18:15:17 +00:00
spec Follow redirect url for Google Doc plugin 2020-04-08 18:15:17 +00:00
Gemfile Add google drive plugin and user service 2015-02-11 18:07:05 +00:00
google_drive.gemspec bump patch level gem versions 2020-03-04 20:40:42 +00:00
test.sh simplify gem test harnesses 2016-01-19 17:52:58 +00:00