Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] HTTP based Filetransfer

Hi Thomas,

Thomas Hallgren wrote:
Hi,
Will the ECF filestransfer implementation for http do some extra magic if it encounters a 302 response? The reason I ask is this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=219372. It seems the JVM runtime URL implementation doesn't always do that (although the error is perhaps in what the server is sending). Will ECF help in this respect?

One way that we could help is to use the apache httpclient-based provider (org.eclipse.ecf.provider.filetransfer.httpclient)...and explicitly handle the 302 response. Currently both the URLConnection-based and httpclient-based providers just treat it as another kind of error I believe so it would take some modification of the provider...but this would be pretty easily doable.

Scott



Regards,
Thomas Hallgren

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top