Skip to content

Instantly share code, notes, and snippets.

@w4ilun
Created September 22, 2016 22:03
Show Gist options
  • Save w4ilun/f8a52d802a705751df94bdf0c483a4c3 to your computer and use it in GitHub Desktop.
Save w4ilun/f8a52d802a705751df94bdf0c483a4c3 to your computer and use it in GitHub Desktop.
String response =
"HTTP/1.1 200 OK\r\n"
"CACHE-CONTROL: max-age=86400\r\n"
"DATE: Fri, 15 Apr 2016 04:56:29 GMT\r\n"
"EXT:\r\n"
"LOCATION: http://" + String(s) + ":80/setup.xml\r\n"
"OPT: \"http://schemas.upnp.org/upnp/1/0/\"; ns=01\r\n"
"01-NLS: b9200ebb-736d-4b93-bf03-835149d13983\r\n"
"SERVER: Unspecified, UPnP/1.0, Unspecified\r\n"
"ST: urn:Belkin:device:**\r\n"
"USN: uuid:" + persistent_uuid + "::urn:Belkin:device:**\r\n"
"X-User-Agent: redsonic\r\n\r\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment