summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-03-04 13:09:46 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-03-17 14:56:37 +0100
commitb993cab540e19e6fa8a488b520f7ef7dc2602b2f (patch)
tree1ff8445f94732939afb18d5d14f82811f3a1bcde
parent431f292409ca5cd5f137b5a2164b317d609fb720 (diff)
downloadlibrest-b993cab540e19e6fa8a488b520f7ef7dc2602b2f.tar.gz
Switch Flickr examples to https://
http:// does not work anymore.
-rw-r--r--examples/test-raw.c2
-rw-r--r--examples/test-xml.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/test-raw.c b/examples/test-raw.c
index ae9b016..6b50900 100644
--- a/examples/test-raw.c
+++ b/examples/test-raw.c
@@ -53,7 +53,7 @@ main (gint argc, gchar **argv)
loop = g_main_loop_new (NULL, FALSE);
- proxy = rest_proxy_new ("http://www.flickr.com/services/rest/", FALSE);
+ proxy = rest_proxy_new ("https://www.flickr.com/services/rest/", FALSE);
call = rest_proxy_new_call (proxy);
rest_proxy_call_add_params (call,
"method", "flickr.test.echo",
diff --git a/examples/test-xml.c b/examples/test-xml.c
index 6e132f9..bffabe3 100644
--- a/examples/test-xml.c
+++ b/examples/test-xml.c
@@ -119,7 +119,7 @@ main (gint argc, gchar **argv)
loop = g_main_loop_new (NULL, FALSE);
- proxy = rest_proxy_new ("http://www.flickr.com/services/rest/", FALSE);
+ proxy = rest_proxy_new ("https://www.flickr.com/services/rest/", FALSE);
call = rest_proxy_new_call (proxy);
rest_proxy_call_set_method (call, "GET");
rest_proxy_call_add_params (call,