Closed
Bug 299049
Opened 20 years ago
Closed 3 years ago
Mozilla Plug-In API Proposal: Enable plugins to add Headers for GET Requests
Categories
(Core Graveyard :: Plug-ins, enhancement, P5)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: edwong, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412 Build Identifier: Mozilla/5.0 The NPAPI currently allows adding HTTP headers to a POST request, by prepending them to the POST body in NPN_PostURL and NPN_PostURLNotify. We would like for plugins to be able to add HTTP headers to GET requests as well. We propose: NPError NPN_GetURLNotifyHeaders ( NPP instance, const char* url, const char* target, void* notifyData, const char* headers ); /* Identical to NPN_GetURLNotify, except for the new parameter 'headers', * which specifies additional request headers. These are separated by \n * characters (NOT \r\n), and terminated by \n\0 (NOT \n\n\0). The browser * appends these headers to the request verbatim, inserting them after the * headers automatically generated by the browser. The browser does NOT * attempt to detect conflicts between its own headers and those specified * by the plugin; if the plugin specifies headers that overlap with browser * headers, the conflicting headers will simply be sent verbatim. * Reproducible: Always Steps to Reproduce: 1. Enhancement request. Allow Plugins to add header to GET request 2. 3. Actual Results: Currently unable to add headers from GET Expected Results: Should be able too
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Plug-ins
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → plugins
Version: unspecified → Trunk
Submitted to plugin futures last year. See http://wiki.mozilla.org/uploads/PluginFutures/request-headers.html
Updated•12 years ago
|
Priority: -- → P5
Comment 2•3 years ago
|
||
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•