def _bucket_response_head(self, bucket_name, querystring):
    self._set_action('BUCKET', 'HEAD', querystring)
    self._authenticate_and_authorize_s3_action()
    try:
        self.backend.head_bucket(bucket_name)
    except MissingBucket:
        return (404, {}, '')
    return (200, {}, '')
def _bucket_response_head(self, bucket_name, querystring):
    self._set_action('BUCKET', 'HEAD', querystring)
    self._authenticate_and_authorize_s3_action()
    try:
        self.backend.head_bucket(bucket_name)
    except MissingBucket:
        return (404, {}, )
    return (200, {}, )