Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Conformance to W3C WoT Profile for HTTP

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
fastapi, python
Domain
api, backend

Research direction

Start by reading the W3C WoT Profile document linked in the issue, focusing on the HTTP protocol binding, property-setting response codes, asynchronous actions, and SSE. Compare those requirements with the existing LabThings FastAPI implementation; done means identifying and addressing the relevant compliance differences.

Written by the indexing model from the issue text.

Description

There is a new W3C document defining the protocol binding for HTTP in more useful detail:

https://w3c.github.io/wot-profile/

It would be good to read and digest this and make sure we're compliant. I think we are close, though we might need to update the response code for setting properties.

I note that the profile defines how asynchronous actions should work, which aligns very well with what we do already. There are possibly a few differences that we should consider changing.

It is possible that this profile defines how SSE should work. That might be really helpful if we are to avoid polling actions, which I'd love. Unfortunately, SSE is only defined for properties and events. That's annoying - I'd love to start an action, then subscribe with SSE.

Dominant language
Python
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

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.

More from labthings/labthings-fastapi

All issues in labthings/labthings-fastapi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.