JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

WebBrowserComponent: Fix adding custom HTTP headers on Linux

Open paulgration opened this issue 1 year ago • 1 comments

Adds the missing functionality of being able to send additional custom HTTP headers with WebBrowserComponent requests on Linux as described in the documentation.

See forum post: Juce WebBrowserComponent not sending additional HTTP headers

Example usage:

std::unique_ptr<juce::StringArray> headers = std::make_unique<juce::StringArray> (
    "Hello: World",
    "Foo: Bar"
);

webView->goToURL ("http://localhost:5000", headers.get());

paulgration avatar Jan 28 '24 13:01 paulgration

Can this be reviewed please?

paulgration avatar May 01 '25 10:05 paulgration

Functionality now provided by d95cb61

paulgration avatar Sep 06 '25 23:09 paulgration