|
Re: downloading binaries with helma.Http: msg#00011java.helma.general
2006/11/14, Hannes Wallnoefer <hannesw@xxxxxxxxx>: > 2) add a switch to the Http class that lets people choose if they want > their content raw or stringified. Default could be stringified, so > that would preserve backwards compatibility. What I don't know is how > that switch method/property would be called. OK, I'm trying to come up with some naming convention for this approach. After some thinking and tinkering, I've come to this proposal on how to switch text/binary mode on the HTTP client: http.setMode(Http.BINARY); http.setMode(Http.TEXT); My backup proposals being: http.useBinaryMode(); http.useTextMode(); or: http.setBinaryMode(); http.setTextMode(); any other proposals? hannes
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: downloading binaries with helma.Http, Hannes Wallnoefer |
|---|---|
| Next by Date: | Re: downloading binaries with helma.Http, thomas |
| Previous by Thread: | Re: downloading binaries with helma.Http, Hannes Wallnoefer |
| Next by Thread: | Re: downloading binaries with helma.Http, thomas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |