Access Keys:
Skip to content (Access Key - 0)









Behaviour if no content-type is received in mm7_deliver.REQ

Print this page

Question

We would like to know the behavior of the MM7 RA, when it receives an mm7_delivery.REQ that does not contain a value for the "content-Type" element. In this scenario, does the RA send a negative response back to MMSC?

$ telnet localhost 2885
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
POST / HTTP/1.0
Content-Length: 0
HTTP/1.0 500 Server Error: Validation Error; No Content-Type provided in HTTP headers
Content-Type: text/xml; charset="utf-8"
Server: RhinoMM7-5.6.0/1.1
Date: Tue, 16 Jan 2007 04:18:20 GMT
Content-Length: 326
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header></env:Header><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Server
Error: Validation Error; No Content-Type provided in HTTP headers</faultstring></env:Fault></env:Body></env:Envelope>
Connection closed by foreign host.

Answer

Register/login to use all DevPortal features - Log in | Sign up )

Adaptavist Theme Builder Powered by Atlassian Confluence