Cisco ACE-4710-K9 Administration Manual page 370

Application control engine appliance
Table of Contents

Advertisement

XML Overview
R E V I E W D R A F T - C I S C O C O N F I D E N T I A L
Table 9-1
Return Code
405
406
408
411
500
501
505
The following HTTP headers are supported:
For example, when an XML error occurs, the HTTP response contains a 200
return code. The portion of the original XML document with the error is returned
with an error element that contains the error type and description.
The following is a typical example of an XML error response:
<response_xml>
<config_command>
<command>
interface vlan 20
no shut
description xyz
exit
</command>
<status code = '200' text='XML_CMD_FAILURE'>
<error_command> description xyz </error_command>
<error_message> unrecognized element - description </error_message>
</status>
</config_command>
</response_xml>
Cisco 4700 Series Application Control Engine Appliance Administration Guide
9-6
Supported HTTP Return Codes for XML (continued)
Description
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
Not Implemented ("POST" not specified)
HTTP Version Not Supported ("1.0" or "1.1" not specified)
Content-Length (nonzero value required for all POSTs)
Connection (close value indicates that a request should not be persistent)
WWW-Authenticate (sent to the client when credentials are required and
missing)
Authorization (sent from the client to specify basic credentials in base 64
encoding)
Chapter 9
Configuring the XML Interface
OL-11157-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents