gitlab-org--gitlab-foss/spec/lib
Rémy Coutable 2556d6d347 Merge branch 'docker-registry-work-with-redirect' into 'master'
Make docker registry work with location redirects when external storage is used

## What does this MR do?

Honor `Location:` header when working with local registry.
Location makes it possible to download manifests from external storage.

## What are the relevant issue numbers?

Fixed https://gitlab.com/gitlab-org/gitlab-ce/issues/18477

## Remark

Adding `FollowRedirects` makes that we leak `Authorization:` in followed requests.

That is why it is implemented manually and we are explicitly removing `Authorization` header.

cc @marin @twk3 

See merge request !4677
2016-07-18 10:32:39 +00:00
..
banzai Don't fail to highlight when Rouge doesn't have a lexer 2016-07-15 20:22:35 -05:00
ci Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
container_registry Explicitly remove authorization token and make sure that invalid addresses are properly handled 2016-07-15 17:35:23 +02:00
gitlab Merge branch 'fix-lfs-ci-fetch' into 'master' 2016-07-18 07:52:06 +00:00
json_web_token Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
disable_email_interceptor_spec.rb Fix failing EmailOnPush spec. 2016-06-10 14:11:02 +05:30
extracts_path_spec.rb
file_size_validator_spec.rb
git_ref_validator_spec.rb
gitlab_spec.rb Update Gitlab.com? to support staging 2016-06-27 15:10:36 -04:00
repository_cache_spec.rb