inrupt / inrupt/solid-client-js

Include GET headers in dataSet object (Especially eTag)

Open
#779 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Triaged
Dominant language
TypeScript
Stars
245
Forks
42
Avg merge
12h 49m
Merged PRs (30d)
22

Description

It would be great if the dataset could harvest the headers as an object, maybe dataset.headers. Our particular case is we need to check the eTag in the header to see if a resource has been updated since last load, and then we wouldn't need to do an additional HEAD after loading the dataset to get that header.

The other information we need from the headers is whether or not a redirect occurred, and if so, what the redirected uri is.

Contributor guide

No contributing guide indexed for this repository

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

No file or test is named. Start by locating the GET/dataSet loading entry point and existing response handling, then inspect related tests. Done means the returned dataset exposes the GET headers, including the eTag, and provides whether a redirect occurred and its redirected URI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.