3.10.5.1.1 POST

The URL specified by the client in the HTTP request line of the POST request identifies the status point targeted for the client. The server can have multiple status points that have different access permissions associated with them. For example, some status points require HTTP access authentication (as specified in [RFC2616] section 11). Other status points allow only clients that connect from a specific IP address.

The syntax of the SendReport request is defined as follows.

 DSC-SendReport-Request  =  DSC-SendReport-Req-Line DSC-SendReportSetReq-Headers DSC-SendReportReq-Body
  
 DSC-SendReport-Req-Line   = "POST" SP Request-URI SP HTTP-Version CRLF
 Request-URI = Request-URI-Start DSC-SendReportRequest-URI-End
            
 DSC-SendReportRequest-URI-End = "Node(AgentId=" SQUOTE AgentID SQUOTE RBRACKET FSLASH "SendReport"
 SQUOTE = %x27  ;  ' (Single Quote)
 RBRACKET = %x29 ; ) (Closing Bracket)
 FSLASH = %x2F ; / (Forward Slash)
 AgentID = UUID ; as specified in [RFC4122] 
            
 DSC-SendReportSetReq-Headers = *( DSC-SendReportSetReq-Header-REQ
      / DSC-SendReportSetReq-Header-OPT ) 
            
 DSC-SendReportSetReq-Header-REQ    = Host    ; section 14.23 of [RFC2616] 
           / Accept ; section 14.1 of [RFC2616] 
           / ContentType ; section 2.2.2.1.2
           / Content-Length ; section 14.13 of [RFC2616] 
            
 DSC-SendReportSetReq-Header-OPT    = Connection  ; section 14.10 of [RFC2616] 
            / Expect ; section 14.20 of [RFC2616] 
            
 DSC-SendReportReq-Body = ReportRequest ; section 3.10.5.1.1.1

The syntax of the SendReport response is defined as follows:

 DSC-SendReport-Response  = Status-Line DSC-SendReportResp-Headers DSC-SendReportResp-Body
            
 DSC-SendReportResp-Headers = *( DSC-SendReportResp-Header-REQ
                            / DSC-SendReportResp-Header-OPT)
            
 DSC-SendReportResp-Header-REQ  =  Content-Length ; section 14.13 of [RFC2616] 
        / Content-Type ; section 2.2.2.1.2
            
 DSC-SendReportResp-Header-OPT  =  Server     ; section 14.38 of [RFC2616] 
 DSC-SendReportResp-Body = ReportContent ; section 3.10.5.1.1.2

The response message for this method can result in the following status codes.

Status code

Description

200

Request completed.

400

Bad request.

401

Unauthorized.

404

The resource is not found.