Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
WTB used a syntax like the following for requesting with headers:
return $this->drupalGet($path, $options, ['Authorization: Basic muh']);
While WTB uses
return $this->drupalGet($path, $options, ['Authorization' => 'Basic muh']);
Proposed resolution
Provide some BC layer which automatically converts that.
Comments
Comment #2
dawehnerComment #3
dawehner