[prog] How to Send HTML message to Konqueror web browser....

meredydd at endymion.com meredydd at endymion.com
Tue Oct 8 21:16:01 EST 2002


Aagh, no! Mega-multi-post - my apologies!

Meredydd

> To be fair, HTTP is very little more than just throwing HTML at the
browser
> - IMHO the RFC is overkill - just get an Ethereal "Follow TCP stream"
dump
> of a web connection, or telnet in yourself (eg "telnet www.google.com 80"
-
> you get a raw interface to the server). It takes very little time to get
> used to, and while I consider finding information buried in RFCs a useful
> skill to master, it's one I haven't gotten very good at, so i tend to
> prefer "suck it and see". Also gives you good practice at
> reverse-engineering :-P
> 
> Meredydd
> 
> > On Wed, 2002-10-09 at 03:32, meredydd at everybuddy.com wrote:
> > > I think it's because you're not talking HTTP, you seem to be just
> dumping 
> > > the response to the browser. This is fine for HTTP 0.9, which goes 
> > > something like this:
> > 
> > I agree with Meredydd, that's your basic problem as I see it.
> > 
> > Check out RFC 2616 and RFC 2617, both available at http://www.w3.org/
> > and a whole bunch of other places. 
> > 
> > If you need help reading them, ask. :)
> > 
> > 
> > Also, the language you're using (C?) may have a library that handles
> > HTTP requests, so you may be able to just throw HTML at a library
> > function. But you can't just throw HTML at a browser and expect it to
> > work, I'm afraid. You need to use the HTTP protocol.
> > 
> > 
> > 
> > Jenn V.
> > -- 
> >     "Do you ever wonder if there's a whole section of geek culture 
> >         	you miss out on by being a geek?" - Dancer.
> > 
> > jenn at anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/
> > 
> > 
> > _______________________________________________
> > Programming mailing list
> > Programming at linuxchix.org
> > http://www.linuxchix.org/mailman/listinfo/programming
> 
> 
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
> 
> 
> _______________________________________________
> Programming mailing list
> Programming at linuxchix.org
> http://www.linuxchix.org/mailman/listinfo/programming


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/





More information about the Programming mailing list