shaka-packager/third_party/happyhttp/patches/server_url

32 lines
1.1 KiB
Plaintext
Raw Normal View History

diff --git a/third_party/happyhttp/src/test.cpp b/third_party/happyhttp/src/test.cpp
index f3d39d1..3ce74b4 100644
--- a/third_party/happyhttp/src/test.cpp
+++ b/third_party/happyhttp/src/test.cpp
@@ -31,7 +31,7 @@ void Test1()
{
puts("-----------------Test1------------------------" );
// simple simple GET
- happyhttp::Connection conn( "www.scumways.com", 80 );
+ happyhttp::Connection conn( "scumways.com", 80 );
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
conn.request( "GET", "/happyhttp/test.php", 0, 0,0 );
@@ -57,7 +57,7 @@ void Test2()
const char* body = "answer=42&name=Bubba";
- happyhttp::Connection conn( "www.scumways.com", 80 );
+ happyhttp::Connection conn( "scumways.com", 80 );
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
conn.request( "POST",
"/happyhttp/test.php",
@@ -77,7 +77,7 @@ void Test3()
const char* params = "answer=42&foo=bar";
int l = strlen(params);
- happyhttp::Connection conn( "www.scumways.com", 80 );
+ happyhttp::Connection conn( "scumways.com", 80 );
conn.setcallbacks( OnBegin, OnData, OnComplete, 0 );
conn.putrequest( "POST", "/happyhttp/test.php" );