You are here: Foswiki>Tasks Web>Item13665 (30 Nov 2016, MichaelDaum)Edit Attach

Item13665: Support rev parameter for XSendFileContrib

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: XSendFileContrib
Branches: master
Reported By: StephanOsthold
Waiting For:
Last Change By: MichaelDaum
The old viewfile supported a rev parameter for old versions, would be nice if XSendFile did as well.

Unfortunately my solution mimics viewfile and thus is as costly.

See https://github.com/StephanOsthold/XSendFileContrib/commit/db6460b47d3d263512df8aec421bd13aca94de1c

-- StephanOsthold - 03 Sep 2015

Thanks. Will add it to the next release. Bit modified so that even with a rev parameter present xsendfile checks for a possible 304 Not Modified. Also, the thing needs to be sent to the browser using response->body() not print()

-- MichaelDaum - 03 Sep 2015
 
Topic revision: r4 - 30 Nov 2016, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy