Re: Simplifying things

I have changed the cwm source but can't check it in just now.
If I remember I will update the CVS repo.
I'm not sure about doing a release, haven't done one for a while.

Tim


On 2010-01 -19, at 11:22, Henry Story wrote:

> 
> On 12 Jan 2010, at 22:51, Toby Inkster wrote:
> 
>> On Tue, 2010-01-12 at 14:59 +0100, Henry Story wrote:
>>> Not sure if this is a bug in cwm...
>> 
>> cwm sends:
>> 
>> 	Accept: application/rdf+xml, text/rdf+n3,
>> 	  application/sparql-results+xml
>> 
>> The server only offers "text/n3". Given the many different media types
>> Turtle and N3 are sent under, not sure of the best way to approach this.
>> Does anyone know if Apache can be easily configured to treat different
>> media types as equivalent?
>> 
>> I tend to use "text/n3" and "text/turtle" as per:
>> 
>> 	http://www.w3.org/2008/01/rdf-media-types
> 
> 
> You are right. The default on the W3 CVS seems to be to serve this up in text/n3 
> 
> $ curl -I http://www.w3.org/ns/auth/cert.n3  
> HTTP/1.1 200 OK
> Date: Tue, 19 Jan 2010 09:24:04 GMT
> Server: Apache/2
> Last-Modified: Tue, 19 Jan 2010 09:03:42 GMT
> ETag: "1c66-47d80bf15b780"
> Accept-Ranges: bytes
> Content-Length: 7270
> Cache-Control: max-age=21600
> Expires: Tue, 19 Jan 2010 15:24:04 GMT
> P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
> Connection: close
> Content-Type: text/n3; qs=0.89
> 
> 
> and running
> 
> cwm http://bblfish.net/people/henry/card.n3
> 
> does indeed produce the following request 
> 
> GET /people/henry/card.n3 HTTP/1.1
> Accept-Encoding: identity
> Host: bblfish.net
> Connection: close
> Accept: text/rdf+n3,application/rdf+xml
> User-Agent: Python-urllib/2.6
> 
> 
> 
> 
> 
> 
>> 
>> -- 
>> Toby A Inkster
>> <mailto:mail@tobyinkster.co.uk>
>> <http://tobyinkster.co.uk>
>> -- 
>> You received this message because you are subscribed to the Google Groups "baetle" group.
>> To post to this group, send email to baetle@googlegroups.com.
>> To unsubscribe from this group, send email to baetle+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/baetle?hl=en.
>> 
>> 
> 
> 
> 
> 

Received on Monday, 25 January 2010 22:08:34 UTC