Skip to content

Commit

Permalink
HTTPS by default
Browse files Browse the repository at this point in the history
These URLs all get redirected from HTTP to HTTPS by MusicBrainz, so we might as well save ourselves a round trip by using HTTPS in the first place.
  • Loading branch information
mavit committed Dec 11, 2020
1 parent 01b41c9 commit e5a607d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/WebService/MusicBrainz.pm
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ it under the same terms as Perl itself.
=head1 SEE ALSO
http://musicbrainz.org/doc/Development/XML_Web_Service/Version_2
https://musicbrainz.org/doc/MusicBrainz_API
=cut

Expand Down
4 changes: 2 additions & 2 deletions lib/WebService/MusicBrainz/Request.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Mojo::UserAgent;
use Mojo::URL;
use Mojo::Util qw/dumper/;

has url_base => 'http://musicbrainz.org/ws/2';
has url_base => 'https://musicbrainz.org/ws/2';
has ua => sub { Mojo::UserAgent->new() };
has 'format' => 'json';
has 'search_resource';
Expand Down Expand Up @@ -114,7 +114,7 @@ it under the same terms as Perl itself.
=head1 SEE ALSO
http://wiki.musicbrainz.org/XMLWebService
https://wiki.musicbrainz.org/XMLWebService
=cut

Expand Down

0 comments on commit e5a607d

Please sign in to comment.