mirror of https://github.com/ARMmbed/mbed-os.git
In tests NET_1 and NET_7 changed URL to files from mbed.org to developer.mbed.org. Reason: online IDE was moved to developer subdomain and NET1 and NET-7 tests were failing
parent
74cc430faa
commit
eaed52a5aa
|
@ -4,7 +4,7 @@
|
|||
#include "test_env.h"
|
||||
|
||||
namespace {
|
||||
const char *HTTP_SERVER_NAME = "mbed.org";
|
||||
const char *HTTP_SERVER_NAME = "http://developer.mbed.org";
|
||||
const int HTTP_SERVER_PORT = 80;
|
||||
const int RECV_BUFFER_SIZE = 512;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ int main()
|
|||
//GET data
|
||||
{
|
||||
bool result = true;
|
||||
const char *url_hello_txt = "http://mbed.org/media/uploads/donatien/hello.txt";
|
||||
const char *url_hello_txt = "http://developer.mbed.org/media/uploads/donatien/hello.txt";
|
||||
printf("HTTP_GET: Trying to fetch page '%s'...\r\n", url_hello_txt);
|
||||
HTTPResult ret = http.get(url_hello_txt, http_request_buffer, BUFFER_SIZE);
|
||||
if (ret == HTTP_OK) {
|
||||
|
|
Loading…
Reference in New Issue