nahi/httpclient — Issue #74: streaming POST (with file) broken
Author: acatighera
Created: 2011-12-09 17:03:44+00:00
State: open

RegexpError in AdNoticesController#update

premature end of regular expression: /^(\032l\277\370\2429\216\236\351[{\{\262\350\274\376)+/

Application Trace | Framework Trace | Full Trace
httpclient (2.2.4) lib/hexdump.rb:24:in `encode'
httpclient (2.2.4) lib/httpclient/session.rb:495:in `debug'
httpclient (2.2.4) lib/httpclient/session.rb:485:in `<<'
httpclient (2.2.4) lib/httpclient/http.rb:555:in `dump_file'
httpclient (2.2.4) lib/httpclient/http.rb:476:in `dump'
httpclient (2.2.4) lib/httpclient/http.rb:473:in `each'
httpclient (2.2.4) lib/httpclient/http.rb:473:in `dump'
httpclient (2.2.4) lib/httpclient/http.rb:889:in `dump'
httpclient (2.2.4) lib/httpclient/session.rb:600:in `query'
httpclient (2.2.4) lib/httpclient/timeout.rb:131:in `timeout'
httpclient (2.2.4) lib/httpclient/session.rb:598:in `query'
httpclient (2.2.4) lib/httpclient/session.rb:161:in `query'
httpclient (2.2.4) lib/httpclient.rb:1060:in `do_get_block'
httpclient (2.2.4) lib/httpclient.rb:869:in `do_request'
httpclient (2.2.4) lib/httpclient.rb:956:in `protect_keep_alive_disconnected'
httpclient (2.2.4) lib/httpclient.rb:868:in `do_request'
httpclient (2.2.4) lib/httpclient.rb:756:in `request'
httpclient (2.2.4) lib/httpclient.rb:666:in `post'
rested (0.3.6) lib/rested/base.rb:44:in `post'
rested (0.3.6) lib/rested/entity.rb:226:in `save!'
rested (0.3.6) lib/rested/entity.rb:201:in `save'
app/controllers/ad_notices_controller.rb:59:in `update'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.1.3) lib/active_support/callbacks.rb:506:in `_run__1151227783__process_action__944252406__callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.1.3) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal.rb:236:in `action'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:29:in `call'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `call'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `recognize'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:75:in `optimized_each'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:532:in `call'
sass (3.1.11) lib/sass/./sass/plugin/rack.rb:54:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.3.5) lib/rack/etag.rb:23:in `call'
rack (1.3.5) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/flash.rb:247:in `call'
rack (1.3.5) lib/rack/session/abstract/id.rb:195:in `context'
rack (1.3.5) lib/rack/session/abstract/id.rb:190:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/cookies.rb:331:in `call'
activerecord (3.1.3) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in `call'
activesupport (3.1.3) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/reloader.rb:68:in `call'
rack (1.3.5) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'
rack (1.3.5) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.3.5) lib/rack/lock.rb:15:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/static.rb:53:in `call'
railties (3.1.3) lib/rails/engine.rb:456:in `call'
rack (1.3.5) lib/rack/content_length.rb:14:in `call'
railties (3.1.3) lib/rails/rack/log_tailer.rb:14:in `call'
thin (1.3.1) lib/thin/connection.rb:80:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in `catch'
thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:53:in `process'
thin (1.3.1) lib/thin/connection.rb:38:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.3.1) lib/thin/backends/base.rb:61:in `start'
thin (1.3.1) lib/thin/server.rb:159:in `start'
rack (1.3.5) lib/rack/handler/thin.rb:13:in `run'
rack (1.3.5) lib/rack/server.rb:265:in `start'
railties (3.1.3) lib/rails/commands/server.rb:70:in `start'
railties (3.1.3) lib/rails/commands.rb:54
railties (3.1.3) lib/rails/commands.rb:49:in `tap'
railties (3.1.3) lib/rails/commands.rb:49
script/rails:6:in `require'
script/rails:6