Http Return Codes - Cisco 4700M Administration Manual

Application control engine appliance
Hide thumbs Also See for 4700M:
Table of Contents

Advertisement

Chapter 8
Configuring the XML Interface
<response_xml>
<config_command>
<command>
interface vlan 80
ip address 60.0.0.145 255.255.255.0
access-group input acl1
no shutdown
</command>
<status code="100" text="XML_CMD_SUCCESS"/>
</config_command>
</response_xml>
******** Client **************
POST /bin/xml_agent HTTP/1.1
Content-Length: 95
xml_cmd=<request_xml>
<show_running-config/>
</request_xml>
******** Server **************
HTTP/1.1 401 Unauthorized
Connection: close
WWW-Authenticate: Basic realm=/xml-config

HTTP Return Codes

HTTP return codes indicate the status of the request and reports e rrors between the server and the client.
The Apache HTTP server return status codes follow the standards outlined in RFC 2616.
the supported HTTP return codes.
Table 8-1
Return Code
200
201
202
203
206
301
302
400
401
403
404
405
406
408
411
500
OL-20823-01
Supported HTTP Return Codes for XML
Description
OK
Created
Accepted
Non-Authoritative Information
Partial Content
Moved Permanently
Found
Bad Request
Unauthorized (credentials required, but not provided)
Forbidden (illegal credentials submitted; syslog also generated)
Not Found ("/xml-config" not specified)
Method Not Allowed
Not Acceptable
Request Time-out (more than 30 seconds has passed waiting on receive)
Missing Content-Length (missing or zero Content-Length field)
Internal Server Error
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Information About XML
Table 8-1
lists
8-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents