This is a plugin that lets you interact with the HTTP headers.

The plugin package is au.com.samad.java.jspwiki.plugin.HTTPHeader.

SECURITY WARNING:
Please note that installation and/or use of this feature on a public wiki is a security risk. This feature should only be used on a private or intranet wiki where the environment is entirely trusted.

Advanced features can be control from jspwiki.properties by setting jspwiki.plugin.HTTPHeader.Adv - this defaults to off. You must explicitly set it to ON to get access to advanced headers. If not set to ON, user only get access to Cache-Control, Pragma, Date, Age, ETag.

See also:

Example#

You can use it like so:

[{HTTPHeader header='cache-control' value='no-cache'}]
[{HTTPHeader header='cache-control' value='no-store'}]

Apart from cache-control you can set pragma, Age, Etag

Discussion#

...

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java
HTTPHeader.java 12.7 kB 2 21-Jul-2007 04:03 Alex Samad Source File
jar
HTTPPlugin.jar 4.9 kB 1 21-Jul-2007 04:03 Alex Samad New Version 2 of HTTPHeader
« This page (revision-3) was last changed on 21-Jul-2007 03:59 by Alex Samad