Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
|||
| Line 5: | Line 5: | ||
= Contributors = | = Contributors = | ||
* Last modified: October | * Last modified: October 28, 2010 | ||
* Authors: Josh Aas (Mozilla), Johnny Stenback (Mozilla) | * Authors: Josh Aas (Mozilla), Johnny Stenback (Mozilla) | ||
* Contributors: Rudi Sherry (Adobe), Darin Fisher (Google), Dimcho Balev (Adobe), Deneb Meketa (Adobe), Stuart Morgan (Google) | * Contributors: Rudi Sherry (Adobe), Darin Fisher (Google), Dimcho Balev (Adobe), Deneb Meketa (Adobe), Stuart Morgan (Google), Jimson Xu (Adobe) | ||
= Overview = | = Overview = | ||
| Line 20: | Line 20: | ||
The following function can be implemented by plugins to allow for URL redirect handling: | The following function can be implemented by plugins to allow for URL redirect handling: | ||
void NPP_URLRedirectNotify(NPP instance, const char* | void NPP_URLRedirectNotify(NPP instance, const char* uri, | ||
int32 status, void* notifyData); | int32 status, void* notifyData); | ||
* instance: The plug-in instance that made the request. | * instance: The plug-in instance that made the request. | ||
* | * uri: The raw 'Location' header field value for the redirect. | ||
* status: The HTTP status code returned from the server (will be 3xx). | * status: The HTTP status code returned from the server (will be 3xx). | ||
* notifyData: The plugin's private request data. | * notifyData: The plugin's private request data. | ||