nodeSolidServer / nodeSolidServer/node-solid-server

Use URI for X-Powered-By value

Ouverte
#1,181 5 commentaires 3 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

enhancement
Langage dominant
JavaScript
Étoiles
1.8k
Forks
308
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

[The following is not strictly a node-solid-server issue but I think it can go a long way in setting it as a practice that other Solid server implementations or variations can follow suite. Eventually, this 'feature' can bubble up to the solid-spec - given that it is a common practice (aka sufficiently "incubated")]

The X-Powered-By header value eg solid-server can be more specific/unique. After all, which Solid server or which version? So, Solid servers should announce a URI as a value instead which can potentially be self-descriptive when dereferenced ie. another agent can find out about its capabilities, what specs it implements, making use of vocabs like DOAP stuff. This is beyond content or time negotiation etc.

Edit: granted that the string "solid-server" can mean that it is an implementation of the Solid spec, but that may be under the assumption that the server conforms to the latest state of the spec. While the clients could make that assumption, they can be mislead given what the server actually performs. So, the reality is that, there are indeed different versions of the application, as well as its conformance to the specs. All of that information and more can be discoverable through the URI.

eg curl -I https://linkedresearch.org/ldn/tests/ uses X-Powered-By: https://github.com/csarven/mayktso but it can also point to something more granular and actually return RDF.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Aucun fichier d’implémentation ni test n’est identifié dans l’issue. Commencez par localiser l’endroit où node-solid-server définit l’en-tête de réponse X-Powered-By, puis examinez les commentaires existants et les conventions de Solid-server avant de décider quelle URI et quelle représentation sont acceptables. La tâche est terminée lorsque l’en-tête expose systématiquement l’URI auto-descriptive convenue et que son comportement est couvert par des tests.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, nodejs
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.