I've checked in the changes. After some more testing more I found that
stylesheet requests for files are unhelpfully for mime-type "*/*" so I
modified PRFileView to assume a #isFullResponse by default unless the
request is a mime-type of WAMimeType textHtml.
On 2 December 2011 19:07, Lukas Renggli <renggli(a)gmail.com> wrote:
Aha, that sounds like a cool trick. Didn't think
of that. So go for it.
Lukas
On 2 December 2011 19:49, Nick Ager <nick.ager(a)gmail.com> wrote:
The
problem is that like this you cannot easily navigate to the
resource anymore.
PRFileView>#isFullResponse only returns true is the mime-types match. So
you can navigate to an image through the web interface as normal as the
request mime-type will be text/html and not match the file's mime-type
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki