eclipse-thingweb / eclipse-thingweb/node-wot
htv:headers not conveyed when exposing thing
- 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
Assessment
This issue has not been assessed yet.