Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BrowserKit] on followRedirect, client doesn't resend HTTP headers #7929

Closed
@Mihailoff

Description

@Mihailoff

In this simple case

$headers = array('HTTP_Content_Type' => 'application/vnd.custom+xml');
$crawler = $client->request($method, $uri, $params, array(), $headers);

when server returns redirect, Content-Type header will not be sent to new location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BrowserKitGood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions