Summary: | ASTERISK-07275: [patch] AMI over HTTP returns malformed response header | ||
Reporter: | Jeffrey Kohler (jeff) | Labels: | |
Date Opened: | 2006-07-03 15:37:36 | Date Closed: | 2006-07-03 19:16:39 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) jeff-diff.txt | |
Description: | The Content-type: header returned by AMI over HTTP is terminated with just a line feed character. This is a problem, because some strict parsers will not continue to parse the response. The Internet RFC 822, section 3.2, states that a Header Field in an internet message will be terminated with the character CRLF. This is a simple enough fix - just add "\r\n" instead of just "\n". ****** ADDITIONAL INFORMATION ****** I ran into this problem using the WebResponse objects in the .Net framework to communicate with Asterisk. | ||
Comments: | By: Tilghman Lesher (tilghman) 2006-07-03 19:16:39 Fixed in trunk. |