@marcusramberg: Should this be if($self->req->method ne 'POST') instead?