Lines 407-412
exit;
Link Here
|
407 |
if ( $status == HTTP_UNAUTHORIZED || $status == HTTP_FORBIDDEN ) { |
407 |
if ( $status == HTTP_UNAUTHORIZED || $status == HTTP_FORBIDDEN ) { |
408 |
|
408 |
|
409 |
# Our token might have expired. Re-authenticate and post again. |
409 |
# Our token might have expired. Re-authenticate and post again. |
|
|
410 |
$ua = _ua(); # fresh one, needs to authenticate |
411 |
$self->{ua} = $ua; |
410 |
$self->{csrf_token} = $self->authenticate; |
412 |
$self->{csrf_token} = $self->authenticate; |
411 |
$resp = $ua->post( |
413 |
$resp = $ua->post( |
412 |
$base_url . IMPORT_SVC_URI, |
414 |
$base_url . IMPORT_SVC_URI, |
413 |
- |
|
|