-=> On Sun, 24 Aug 2003 09:47:06 -0400 (EDT), John Vozza <[EMAIL PROTECTED]> said:

> Just noticed that version 1.0.3.81 has been released on the
> Grandstream website.

Doh.  I see they still haven't decided to comply with RFC2616 (HTTP).
This has been a peeve since the first firmware release, but I guess
they think I'm making this up.  Who needs standards when IE works just
fine? :)

Instead of returning a status line, BudgeTone immediately sends the
HTML content in reply.  While IE seems to forgive this, other browsers
such as Opera (and wget) return an error or offer to save the invalid
response to a file.

The bug relates to the Section 6 Response:
  http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6

 "After receiving and interpreting a request message, a server
  responds with an HTTP response message. "

The BudgeTone-100 does not give any response at all, just the HTML
dump.  Like this:

------------------------------------------------------------

DEBUG output created by Wget 1.8.2 on linux-gnu.

--13:32:26--  http://niko/
Resolving niko... done.
---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.8.2
Host: niko
Accept: */*
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... <HTML><HEAD><TITLE>Login
Page</TITLE></HEAD>

Closing fd 3
13:32:26 ERROR -1: Malformed status line.

------------------------------------------------------------

If I could edit the html.bin file, I could probably shove a response
right in there.

-Steve
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to