Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON response #136

Open
ShadowJonathan opened this issue Jan 31, 2024 · 0 comments · Fixed by #137
Open

Add JSON response #136

ShadowJonathan opened this issue Jan 31, 2024 · 0 comments · Fixed by #137
Labels
enhancement New feature or request
Milestone

Comments

@ShadowJonathan
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants