Skip to content

Allow custom headers in request #6

@clicktrend

Description

@clicktrend

I need to add custom headers like "X-Include". I have extended code after this line

$httpRequest = $this->requestFactory->createRequest($request->method(), $request->uri());

foreach($request->headers()->all() as $header => $value) {
    $httpRequest = $httpRequest->withHeader($header, $value);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions