Re: Linksys BEFSR41 UPnP support
Ismo Puustinen <[email protected]> Wed, 7 Jul 2004 16:59:24 +0300
| Newsgroups | gmane.linux.upnp-sdk.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 7 Jul 2004 15:05:18 +0300, Ismo Puustinen <[email protected]> wrote: > 1. Why does it fail? The XML in the description document is > well-formed (goes through XML validators)? I found the reason for the problem and thought I would share it with you. The Linksys IGD's web server says that its documents are of content type 'text/html'. Of course, libupnp only accepts documents of type 'text/xml'. I'll probably file a bug report to Linksys about the behaviour. Still, I think that libupnp might accept description documents of type 'text/html', because html is a subset of xml (at least modern xhtml is). When I relaxed libupnp's check for content type to include 'text/html', it still worked well. Could tolerance to small things like this even be a compile option? -- Ismo Puustinen <[email protected]> ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com