RE: NTLM authentication to an MS Exchange web page account using HTTP Client V2.0

2004-06-29 Thread Roland Weber
Hello Andre-John, > The only issue I would have of using a JNI solution, is that it would > work on MS-Windows, but break everywhere else. Being a client, we need > to have the flexibility to work no matter the platform. I have a > collegue > who has PowerBook which he uses on our Windows network,

Re: multipart/form-data Boundary issues

2004-06-29 Thread Oleg Kalnichevski
Eric, Mark Diggory has started the refactoring of the multipart code but does not seem to not have completed it. You should probably consult with him regarding the direction of further efforts and API changes. Post a message to the commons development list ([EMAIL PROTECTED]) stating [codec-multip

RE: NTLM authentication to an MS Exchange web page account using HTTP Client V2.0

2004-06-29 Thread Andre-John Mas
The only issue I would have of using a JNI solution, is that it would work on MS-Windows, but break everywhere else. Being a client, we need to have the flexibility to work no matter the platform. I have a collegue who has PowerBook which he uses on our Windows network, so this is such a user a JNI

Re: multipart/form-data Boundary issues

2004-06-29 Thread Eric Dalquist
A quick design question. I'm looking to also fix the code so that the filename field gets added to the Content-Disposition. Would it make more sense for the Part interface to have some generic methods called getConentDispositionLine getContentTypeLine and getContentTransferEncodingLine? Then ea

Re: multipart/form-data Boundary issues

2004-06-29 Thread Eric Dalquist
Thanks for the pointer. I guess my big issue with this code as well is the use of static fields, particularly for the boundary. Since the boundary is supposed to be variable for each multipart message this implementation would not work work a multi threaded application like we have. I would be

RE: multipart/form-data Boundary issues

2004-06-29 Thread Kalnichevski, Oleg
--- Begin Message --- Eric There's a project currently hosted in the commons sandbox aimed at factoring multipart code out of HttpClient and eventually merging it with commons [codec]. http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/codec-multipart/ Feel free to take it as a starting

Re: multipart/form-data Boundary issues

2004-06-29 Thread Eric Dalquist
Ortwin Glück wrote: Eric Dalquist wrote: I've been looking through the code dealing with multipart form uploads and have a few questions. First off, what happens if the text that someone is uploading contains the boundary text since it is hard coded in this implementation? Eric, Actually a ha

Re: multipart/form-data Boundary issues

2004-06-29 Thread Ortwin Glück
Eric Dalquist wrote: I've been looking through the code dealing with multipart form uploads and have a few questions. First off, what happens if the text that someone is uploading contains the boundary text since it is hard coded in this implementation? Eric, Actually a hard coded boundary stri