Perhaps you could add logic to your app that reads an additional attribute or environment variable ( e.g. $args{'test_ip_addr'}, $ENV{'MY_APP_TEST_IP'} ) and uses it, if present, instead of the real IP.
Hope this helps!
In reply to Re: Testing Dancer2 - simulating requests from different IP addresses
by 1nickt
in thread [Solved] Testing Dancer2 - simulating requests from different IP addresses
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |