Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebBrowserComponent: Fix adding custom HTTP headers on Linux #1341

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

paulgration
Copy link
Contributor

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 paulgration force-pushed the add-linux-webbrowsercomponent-headers branch from b59639d to cccd622 Compare July 23, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant