Get or Set the configuration for HTTP proxy server.
The proxy server setting must go with HTTP_SERVER setting. HTTP server 1 goes with HTTP proxy 1, and HTTP server 2 goes with HTTP proxy 2.
Because proxy account name and password are in HTTP proxy configurations, the user level account could not access this URL. The error message, ERROR: not authorized, will be returned if the user account uses this URL.
n,state,name,password,addr,port where n 1: HTTP proxy 1, 2:HTTP proxy 2 state : 1: the configuration of this HTTP proxy is valid. 0: Configuration is not valid. name : Account name to login HTTP proxy. The maximum length is 32 bytes including '\0'. password : Account password to login HTTP proxy. The maximum length is 64 bytes including '\0'. addr : host address or IP address of HTTP proxy port : port number of HTTP proxy. It could be 1~65535. The default value is 8080. The error message will be returned if the length of any input argument is longer than the maximum length.
HTTP_PROXY='1,0,name1,passwoed1,192.168.0.100,8080'
HTTP_PROXY='2,0,name2,password2,proxy.com,8080'
OK:HTTP_PROXY='1,1,name1,password1,192.168.0.100,8080'
or
ERROR: invalid argument
Valid but not implemented
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&HTTP_PROXY
or
http://ip:port/cgi-bin/cmd/encoder?HTTP_PROXY
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&HTTP_PROXY=1,1,name1,password1,192.168.0.100,8080
or
http://ip:port/cgi-bin/cmd/encoder?HTTP_PROXY=1,1,name1,password1,192.168.0.100,8080