Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] An interesting usecase

Hi Pascal,

Pascal Rapicault wrote:
In bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=192216 a user
encountered a problem where eclipse update manager does not behave like a
"browser". This is a really interesting use-case since I think this is a
reasonable assumption to have. Does ECF supports this?

The ECF FileTransfer API is currently 'blind' to redirects. If the underlying provider (e.g. Apache httpclient 3.0.1) understands redirects and handles them properly/automatically then all would be well (the current ECF provider using httpclient...i.e. org.eclipse.ecf.provider.filetransfer.httpclient does *not* handle redirects in this manner...but it *could* because the httpclient impl allows/supports this...it just doesn't yet check for redirect response)...then all would be well.

We could also add new events to the API to support interactively making a decision on redirects (e.g. IFileTransferRetrieveRedirectEvent), but to this point this hasn't come up as a requirement so we've not introduced it.

Scott




Back to the top