Richard Fairhurst <[email protected]> writes: > Tom Hughes wrote: >> Basically, even if sending a streaming response from rails was >> possible (which I'm not sure it is - it's certainly hard) > > You can do it using render :text=>proc, as amf_controller does. But I > suspect this would be non-trivial to work into the existing XML API.
The API could also return an URL which the client can poll to get the status for an upload. This would also avoid issues with client timeouts. Currently, when the client hits a timeout and aborts the connection it has no way of knowing whether the upload succeeded or not. For new data this creates duplicates when the user tries to upload again. Matthias _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

