Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Fix reauthentication
Browse files Browse the repository at this point in the history
  • Loading branch information
acme committed Feb 1, 2009
1 parent e0602ee commit acbf958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Net/Mosso/CloudFiles.pm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ sub request {
# response on a given request (to either storage or cdn system)
# and then re-authenticate to obtain an updated token.
$self->_authenticate;
$request->header( 'X-Auth-Token', $self->cloudfiles->token );
$request->header( 'X-Auth-Token', $self->token );
warn $request->as_string if $DEBUG;
$response = $self->ua->request( $request, $filename );
warn $response->as_string if $DEBUG;
Expand Down

0 comments on commit acbf958

Please sign in to comment.