[librest] Switch Flickr examples to https://



commit b993cab540e19e6fa8a488b520f7ef7dc2602b2f
Author: Florian Weimer <fweimer redhat com>
Date:   Wed Mar 4 13:09:46 2015 +0100

    Switch Flickr examples to https://
    
    http:// does not work anymore.

 examples/test-raw.c |    2 +-
 examples/test-xml.c |    2 +-
 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]