w3c / w3c/wot-scripting-api

Support Syntactic Queries in Body

Open
#317 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discovery
Dominant language
HTML
Stars
45
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Object security only protects the bodies of messages, not the headers. As we may need to use object security in local contexts where TLS is not available, it would be helpful to be able to protect queries. The URL appears in the headers and cannot be protected by object security, but the body can. In order to allow for this, we need to support putting queries in the body for all query types, including JSON Path and XPath (which is also consistent, since SPARQL queries allow this as an option).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing query handling for JSON Path, XPath, and the other query types; the issue provides no file or test entry point. Done means all query types can be supplied in the message body, including JSON Path and XPath, so they can be protected by object security.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, xml
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.