Commit 18d9fa3f authored by Zach Beane's avatar Zach Beane
Browse files

When making a HEAD request, use the bucket vhost.

https://forums.aws.amazon.com/thread.jspa?messageID=340398 explains
why: a HEAD request to a location-specific bucket will get a 301
redirect that doesn't include enough info to actually redirect. The
intent is to prompt the client to use the vhost. So use a vhost
pre-emptively on HEAD requests.
parent 756f672f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment