|
Re: downloading binaries with helma.Http: msg#00013java.helma.general
2006/11/20, thomas <thomas@xxxxxxxxxx>: > > I think your first proposal fits best. The two other need two methods > (useBinaryMode(), useTextMode()) and i think its an advantage to minimize > the overall count of methods. > > > > http.setMode(Http.BINARY); > > http.setMode(Http.TEXT); Oops, of course that would then be http.setMode(helma.Http.BINARY); http.setMode(helma.Http.TEXT); which is a bit more verbose than I'd want. After a bit more thinking, I now came up with a new boolean textMode property, which defaults to true: http.setTextMode(true|false); http.getTextMode(); any substantial objections? hannes
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: downloading binaries with helma.Http, thomas |
|---|---|
| Next by Date: | Re: downloading binaries with helma.Http, Juerg Lehni |
| Previous by Thread: | Re: downloading binaries with helma.Http, thomas |
| Next by Thread: | Re: downloading binaries with helma.Http, Juerg Lehni |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |