Hmm... maybe it's my code... I'll try and isolate the part of my
server code that causes this and post it here.

#g

On May 19, 4:56 am, Graham Higgins <[email protected]> wrote:
> On Fri, 2012-05-18 at 09:34 -0700, Graham Klyne wrote:
> > I've worked out a fix for the case sensitive matching of MIME types -
> > simply adding .lower() at the appropriate places in MIMEAccept._match
> > (similar to what Accept._match does)
>
> Noted, I'll pass that on.
>
> > So it seems that the Pyramid request routing logic is making multiple
> > calls with a reducing list of possible server offers for handling the
> > MIME type.
>
> That's rather puzzling and I'm at a loss to explain it.
>
> I transcribed Gunnar's Flask-based LODserver / SPARQLendpoint [1] to
> Pyramid [2] (for use with Python 3) and it is passing all but one of the
> conneg tests posed by Virtuoso's "Vapour" LOD validator facility [3]
> and, as far as I can tell from debug statements, I'm only seeing one
> call on best_match() for each step in the conneg sequence.
>
> When I get a moment, I will check my Pyramid transcription under Python
> 2, to see if anything shows up there.
>
> [1]https://github.com/RDFLib/rdfextras-web
> [2]http://delta.bel-epa.com/
> [3]http://validator.linkeddata.org/vapour?uri=http%3A%2F%
> 2Fdelta.bel-epa.com%2Fresource%2FBook%
> 2Fbook1&mixedAccept=1&defaultResponse=dontmind&userAgent=vapour.sourceforge 
> .net
>
> Cheers,
>
> --
> Graham Higgins
>
> http://bel-epa.com/gjh/
>
>  signature.asc
> < 1KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to