Open 0xfeedface opened 11 years ago
Souldn't it also return a document type header?
It returnes:
$ netcat localhost 8001
GET http://webid.example.com/me
Accept: text/turtle
HTTP/1.1 200 OK
Date: Mon, 15 Apr 2013 16:15:07 GMT
Server: Crystal/0.1
Content-Length: 765
Connection: close
… (content)
Do you mean Content-Type
?
Yes. But maybe netcat just doesn't show me the complete header (which would be strange).
There is currently no Content-Type
header sent. But I don't know of any Document-Type
header. That's why I'm asking.
sorry I meant Content-Type
For ETag
we need a canonical representation, based on which we can compute the hash. RDF/JSON does not work because it does not enforce a specific ordering of properties and object values. Any ideas?
so we need to normalize it in some way. rdf crypto tools use sorted ntriples for that (with bnode renaming / sorting as well)