Browse Source

Change User-Agent to Adam/Net/Http

v5
minexew 1 year ago
parent
commit
ce1d84f98f
  1. 2
      Adam/Net/Http.HC
  2. 2
      Demo/Network/HtServ.HC

2
Adam/Net/Http.HC

@ -9,7 +9,7 @@
#define HTTP_ECONTENTLENGTH (-106)
#define HTTP_MAX_REDIRECTS 5
#define HTTP_USER_AGENT "SnailNet ($TX+CX,"TempleOS",D="DD_OS_NAME_VERSION"$)"
#define HTTP_USER_AGENT "Adam/Net/Http ($TX+CX,"TempleOS",D="DD_OS_NAME_VERSION"$)"
/**
* @param len_out (required) requires the content length, or -1 if unspecified

2
Demo/Network/HtServ.HC

@ -6,7 +6,7 @@
#define BASE_DIR "/Www"
// Set to 0 if you don't want to print anything
#define SERVER_STRING "Server: Shrine HtServ\r\n"
#define SERVER_STRING "Server: HtServ ($TX+CX,"TempleOS",D="DD_OS_NAME_VERSION"$)\r\n"
#define STATE_TERM 0
#define STATE_NEW 1

Loading…
Cancel
Save