nick.ager at gmail.com
Fri Dec 2 23:34:25 MET 2011
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 at gmail.com> wrote:
> Aha, that sounds like a cool trick. Didn't think of that. So go for it.
> On 2 December 2011 19:49, Nick Ager <nick.ager at 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
> Magritte, Pier and Related Tools ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smallwiki