Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request #30 from brummett/redirect
Browse files Browse the repository at this point in the history
Follow redirects in POST requests.
  • Loading branch information
brummett committed Nov 11, 2014
2 parents f335f84 + ecbca4e commit 54401c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/TestDbServer/CmdLine.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ sub get_user_agent {
$ua = LWP::UserAgent->new;
$ua->agent("TestDbServer::CmdLine/0.1 ");
$ua->timeout(5);
push @{ $ua->requests_redirectable }, 'POST';
}
return $ua;
}
Expand Down

0 comments on commit 54401c0

Please sign in to comment.