Skip to content

Conversation

@relu91
Copy link
Member

@relu91 relu91 commented May 9, 2024

As discussed in #854 this PR adds the default assumptions for the Accept header when interacting with a remote Thing. It also assumes that if the user provides the headers field his choice has preference over the default assumptions.

@relu91 relu91 requested a review from danielpeintner as a code owner May 9, 2024 10:51
@egekorkan
Copy link
Member

This Thing has behavior implementation to test this:https://github.com/eclipse-thingweb/test-things/tree/main/things/calculator/http/express
Sadly issues with deployment on thingweb server at the moment.

Copy link
Member

@danielpeintner danielpeintner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

One minor suggestion

@relu91
Copy link
Member Author

relu91 commented May 10, 2024

Given @egekorkan's comment, I think we should merge this after someone has tried to interact with the mentioned Thing. I don't have time today so if anybody else wants to test these changes please feel free to report it here.

Copy link
Member

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just tested and it works as expected. Thanks!

@egekorkan egekorkan merged commit 9d3858c into eclipse-thingweb:master May 10, 2024
@relu91 relu91 deleted the fix-854 branch May 10, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants