Stream: hapi
Topic: GET with content
Jens Villadsen (Nov 05 2019 at 23:33):
Is there some specific reason to why HAPI actually reads the body of a GET request? From reading various SO posts, I get that it is not strictly forbidden to issue a GET request with a body - it's just that it sounds like its not handled the entirely same way among those implementations that actually implements it. @James Agnew
James Agnew (Nov 06 2019 at 10:52):
I'm not sure I understand the issue here. How would you trigger this and what is the problem it causes?
Jens Villadsen (Nov 08 2019 at 15:42):
Using eg. Postman, it is possible to add content to the body when issuing a GET request. While the body might not be intended to be used to anything, it is actually validated. Now if the content actually does not conform to some specified profile , the request is actually rejected.
Last updated: Apr 12 2022 at 19:14 UTC