Comments (7)
Make sure to expose the following headers where applicable:
Allow
Accept-Post
Accept-Patch
Accept-Put
from linkeddatahub.
Accept-Post
is semi-defined in the LDP spec: https://www.w3.org/TR/ldp/#header-accept-post
from linkeddatahub.
Accept-Patch
: https://tools.ietf.org/html/rfc5789#section-4.1
from linkeddatahub.
I think the implementation should be:
Accept-Post
on Container resources (creates new child resource)Accept-Put
,Accept-Post
,Accept-Patch
(SPARQL update) on named graphs
from linkeddatahub.
OPTIONS
is supported by Jersey by default:
OPTIONS /demo/city-graph/ HTTP/1.1
Host: linkeddatahub.com:4443
User-Agent: curl/7.47.0
Accept: */*
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Strict-Transport-Security: max-age=31536000;includeSubDomains
Allow: OPTIONS,HEAD,DELETE,POST,GET,PUT
Last-modified: Wed, 19 Dec 2018 00:01:48 CET
Vary: Accept
Content-Type: application/vnd.sun.wadl+xml
Content-Length: 1015
Date: Thu, 20 Dec 2018 20:17:11 GMT
I'll look into the other headers now.
from linkeddatahub.
Looks like this is at implemented for the Graph Store Protocol with direct graph identification:
https://github.com/AtomGraph/LinkedDataHub/blob/master/src/main/java/com/atomgraph/linkeddatahub/resource/graph/Item.java#L106
from linkeddatahub.
pumba@LAPTOP-BL3MCU0O:~$ curl -k https://kgdev.net -X OPTIONS -I
HTTP/1.1 200
Server: nginx/1.21.4
Date: Thu, 17 Feb 2022 21:23:59 GMT
Content-Length: 0
Connection: keep-alive
Allow: GET
Allow: POST
Allow: PUT
Allow: DELETE
Accept-Post: text/html;charset=UTF-8,application/xhtml+xml;charset=UTF-8,application/rdf+xml;charset=UTF-8,application/n-triples;charset=UTF-8,application/rdf+protobuf;charset=UTF-8,application/trix;charset=UTF-8,application/ld+json;charset=UTF-8,x/ld-json-11;charset=UTF-8,text/shaclc;charset=UTF-8,application/rdf+thrift;charset=UTF-8,text/turtle;charset=UTF-8,text/rdf+n3;charset=UTF-8,application/rdf+json;charset=UTF-8
Link: <https://kgdev.net/>; rel=https://www.w3.org/ns/ldt#base
Link: <https://kgdev.net/sparql>; rel=http://www.w3.org/ns/sparql-service-description#endpoint
Link: <https://kgdev.net/admin/model/ontologies/namespace/#>; rel=https://www.w3.org/ns/ldt#ontology
from linkeddatahub.
Related Issues (20)
- Replace SPARQLBuilder code with SaxonJS IXSL code
- Make it possible to edit resource URIs in the end-user app
- Container results stale after RDF/CSV import which creates children documents
- Support for linux/arm(64/v8) docker images HOT 7
- Could not import large RDF file. HOT 5
- Rearrange content using drag-and-drop
- `$content-uri` value is empty in map mode
- Zoom in/out on mouse scroll in `GraphMode` HOT 1
- Multi-arch Docker images HOT 2
- Frontend proxy cache HOT 1
- Implement `HEALTCHECK` in LDH Docker image
- Configure query timeouts for Fuseki
- Missing HTML writer for SPARQL XML results HOT 1
- broken image on homepage
- LinkedDataHub container unhealthy HOT 2
- Missing CSV/TSV writers for SPARQL results HOT 1
- Maven build warning
- Consider allowing client-controlled graph URIs HOT 1
- Drag doesn't work in map mode
- Login with Google is broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkeddatahub.