FIWARE / tutorials.Short-Term-History

:blue_book: FIWARE 303: Querying Time Series Data (Mongo-DB)
https://fiware-sth-comet.rtfd.io
MIT License
4 stars 5 forks source link

STH-Comet unable to handle uppercase characters in fiware-service header #9

Open tazchalmers opened 3 years ago

tazchalmers commented 3 years ago

This took me a really long time to debug, but I have figured out that if an uppercase character is used in the fiware-service header, then STH-Comet returns no values.

With an all lowercase fiware-service header STH-comet returns values as expected.

Sorry, I don't have time to test if the same is true with the fiware-servicepath.

jason-fox commented 3 years ago

I'm guessing that this is somewhat related to https://github.com/telefonicaid/iotagent-node-lib/pull/1024 - I'll add in a note to the text to make this more visible.