Add JSON response
Opened this issue · 0 comments
ShadowJonathan commented
I'm thinking of using this hellpot to reply to bots who scrape a JSON-based API, by replying to them with the ever-evolving response that never ends.
However, this hellpot replies with text, and some iterative parsers will fail and disconnect immediately upon the first character.
Is there a way for the hellpot to detect when it sends Accept: application/json
and the likes, and reply with hellish JSON instead?