Re: use of getBytes() in WebServer.java

2002-08-14 Thread Jon Scott Stevens
on 8/14/02 3:43 PM, "Daniel Rall" <[EMAIL PROTECTED]> wrote: > >> getHTTPBytes() is a more 'proper' method name. > > It's not a bean method; I don't agree. Ah. Good point. Sorry about that. -jon

Re: use of getBytes() in WebServer.java

2002-08-14 Thread Jon Scott Stevens
on 8/14/02 12:29 PM, "Daniel Rall" <[EMAIL PROTECTED]> wrote: > I added a toHTTPBytes() method to handle this. I have only made use > of it in the regular WebServer class (not in the SecureWebServer class). getHTTPBytes() is a more 'proper' method name. -jon

Re: use of getBytes() in WebServer.java

2002-08-14 Thread Adam Megacz
Daniel Rall <[EMAIL PROTECTED]> writes: > > Shouldn't it be getBytes("ASCII")? > Does HTTP require an ASCII encoding? For headers, it does. The payload is another story, of course. See RFC 2068, Section 2.2. - a -- Sick of HTML user interfaces? www.xwt.org