I'm sorry, the error was in my PERL code:
$req->content("csrfmiddlewaretoken=$csrfid");
is the correct POST request setting.
On Dec 7, 11:40 am, gentlestone wrote:
> I have a PERL test script for DJANGO connection test. It works on
> Django 1.1 admin login page, but doesn't work on 1.2. The reque
I have a PERL test script for DJANGO connection test. It works on
Django 1.1 admin login page, but doesn't work on 1.2. The request
contains:
Forbidden (403)
CSRF verification failed. Request aborted.
Here is the perl script:
$response = $ua->get("$url/admin/");
my @lines = grep /id='csrfmid
2 matches
Mail list logo