Changing the response of your HTTP server does not warrant jail time
Imagine your own mother being subjected to this kind of thing. Wouldn't you want jail time for the perpetrator? Would you stop there?
You're not being subjected to some kind of torture; in fact, you are responsible for sending the HTTP request and executing it on your computer.