# Upr 0.2.0 - Upload Progress for Rack

**URL:** <https://www.ruby-forum.com/t/upr-0-2-0-upload-progress-for-rack/178954>\
**Category:** Ruby\
**Created:** [November 14, 2009, 3:06am UTC](https://www.ruby-forum.com/t/upr-0-2-0-upload-progress-for-rack/178954 "2009-11-14T03:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/97f17d/32.png) [@ericw](https://www.ruby-forum.com/u/ericw)\
**Post date:** [November 14, 2009, 3:06am UTC](https://www.ruby-forum.com/t/upr-0-2-0-upload-progress-for-rack/178954/1 "2009-11-14T03:06:26Z")

</div>

upr 0.2.0 - twice as good as the first!

upr is Rack middleware that allows browser-side upload progress  
monitoring. It is based on (and should be client-side compatible with)  
several upload progress modules including ones used by leading web  
servers. It allows any Moneta backing store in addition to DRb. There  
is also a packaged example for using an ActiveRecord model for Rails.

- [http://upr.bogomips.org/](http://upr.bogomips.org/)
- removed\_email\_address@domain.invalid
- git://git.bogomips.org/upr.git

Changes:

This release fixes several bugs and adds better compatibility  
with existing upload progress implementations from other web  
servers.

‘config.gem “upr”’ in Rails config/environment should work now  
that double loads are non-fatal (but still warn). Additionally,  
better error handling has been added and timeouts increased  
to reduce the probability of errors due to slow clients.

The Rack backend can now generate JSON responses compatible[1]  
with upload progress modules for both lighttpd and nginx.  
Additionally, streaming JSON as demonstrated in  
mongrel\_streaming\_upload\_progress is supported, too.

This is a list of upload progress modules we are compatible  
with:

1. mongrel\_upload\_progress  
[http://mongrel.rubyforge.org/wiki/UploadProgress](http://mongrel.rubyforge.org/wiki/UploadProgress)
2. jquery-upload-progress  
[GitHub - drogus/jquery-upload-progress: Upload progress bar working with apache, nginx and lighttpd upload progress modules](http://github.com/drogus/jquery-upload-progress)
3. mongrel\_streaming\_upload\_progress  
[http://rubyforge.org/pipermail/mongrel-users/2007-July/003747.html](http://rubyforge.org/pipermail/mongrel-users/2007-July/003747.html)
