eclipse-thingweb / eclipse-thingweb/node-wot

htv:headers not conveyed when exposing thing

Open
#842 11 comments 0 reactions 0 assignees View on GitHub
binding-http bug
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

When exposing a thing with http bindings, the `htv:headers` are emptied / not transported to the thing description of the exposed thing.

As an example, this is an excerpt of the td before exposing it:

```json
"properties": {
"counter": {
"type": "integer",
"writeOnly": false,
"readOnly": false,
"forms": [
{
"htv:headers": [
{
"htv:fieldName": "Cache-Control",
"htv:fieldValue": "max-age=0"
}
]
}
]
},
```

After exposing, a href is there, but `htv:headers` has disappeared.

I believe it should be possible to provide values here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.