r76435 - in /branches/upstream/libnet-dropbox-api-perl/current: Changes META.yml lib/Net/Dropbox/API.pm
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Fri Jun 24 06:05:24 UTC 2011
Author: carnil
Date: Fri Jun 24 06:05:20 2011
New Revision: 76435
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76435
Log:
[svn-upgrade] new version libnet-dropbox-api-perl (1.6.1)
Modified:
branches/upstream/libnet-dropbox-api-perl/current/Changes
branches/upstream/libnet-dropbox-api-perl/current/META.yml
branches/upstream/libnet-dropbox-api-perl/current/lib/Net/Dropbox/API.pm
Modified: branches/upstream/libnet-dropbox-api-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dropbox-api-perl/current/Changes?rev=76435&op=diff
==============================================================================
--- branches/upstream/libnet-dropbox-api-perl/current/Changes (original)
+++ branches/upstream/libnet-dropbox-api-perl/current/Changes Fri Jun 24 06:05:20 2011
@@ -1,4 +1,7 @@
Revision history for Net-Dropbox
+
+1.6.1 2011-06-16T13:16:50
+ fixes #16
1.6 2011-05-16T17:44:07
bugfix release with patches from mschilli and s-aska
Modified: branches/upstream/libnet-dropbox-api-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dropbox-api-perl/current/META.yml?rev=76435&op=diff
==============================================================================
--- branches/upstream/libnet-dropbox-api-perl/current/META.yml (original)
+++ branches/upstream/libnet-dropbox-api-perl/current/META.yml Fri Jun 24 06:05:20 2011
@@ -31,4 +31,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/norbu09/Net--Dropbox
-version: 1.6
+version: 1.6.1
Modified: branches/upstream/libnet-dropbox-api-perl/current/lib/Net/Dropbox/API.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dropbox-api-perl/current/lib/Net/Dropbox/API.pm?rev=76435&op=diff
==============================================================================
--- branches/upstream/libnet-dropbox-api-perl/current/lib/Net/Dropbox/API.pm (original)
+++ branches/upstream/libnet-dropbox-api-perl/current/lib/Net/Dropbox/API.pm Fri Jun 24 06:05:20 2011
@@ -7,7 +7,6 @@
use Net::OAuth;
use LWP::UserAgent;
use URI;
-use HTTP::Status qw(:constants);
use HTTP::Request::Common;
use Data::Random qw(rand_chars);
use Encode;
@@ -18,11 +17,11 @@
=head1 VERSION
-Version 1.6.5.4.3
-
-=cut
-
-our $VERSION = '1.6';
+Version 1.6.1.6.5.4.3
+
+=cut
+
+our $VERSION = '1.6.1';
=head1 SYNOPSIS
@@ -210,9 +209,10 @@
error_handler => sub {
my $obj = shift;
my $resp = shift;
- if( $resp->code == HTTP_NOT_MODIFIED ) {
- return to_json({ http_response_code =>
- HTTP_NOT_MODIFIED });
+ # HTTP::Status is nice but old RHEL5 has issues with it
+ # so we use plain codes
+ if( $resp->code == 304 ) {
+ return to_json({ http_response_code => 304 });
} else {
return $self->_talk_default_error_handler($resp);
}
More information about the Pkg-perl-cvs-commits
mailing list