Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad request - #29

Open
anuprit opened this issue Apr 13, 2013 · 0 comments
Open

bad request - #29

anuprit opened this issue Apr 13, 2013 · 0 comments

Comments

@anuprit
Copy link
Owner

anuprit commented Apr 13, 2013

{"SERVER_SOFTWARE"=>"thin 1.5.0 codename Knife", "SERVER_NAME"=>"localhost", "rack.input"=>#<StringIO:0x007fb14e315ef0>, "rack.version"=>[1, 0], "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/assets/javascript/script.js", "PATH_INFO"=>"/assets/javascript/script.js", "REQUEST_URI"=>"/assets/javascript/script.js", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_HOST"=>"localhost:4000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31", "HTTP_REFERER"=>"http://localhost:4000/sdsds", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_sas_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTc5OWFhYzNlYzg2MmE1MDc1OGI2NmQ1YjkwODg0MjQ1BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpvYStsYi8vd0haaU1ZU3NJelJXRDRrWHdSaWlXQU5yNkNidjZZUnBQUkU9BjsARg%3D%3D--9743b8430134acd7b8eb9fc363131e8b9516f8f2; _at-api-server_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMyYTViZjkxMTgwOWU1ODViOTU2NDg0ZjRiM2MyMDdhBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVp0MVUzeDFaUXhxbEFDRXJ2K1Z2dE9BVmxRV2ZVMm1SSFVPSGxYN2VYRXM9BjsARg%3D%3D--6fb448e84f074c0fbb2344e630add0389c36688f", "GATEWAY_INTERFACE"=>"CGI/1.2", "SERVER_PORT"=>"4000", "QUERY_STRING"=>"", "SERVER_PROTOCOL"=>"HTTP/1.1", "rack.url_scheme"=>"http", "SCRIPT_NAME"=>"", "REMOTE_ADDR"=>"127.0.0.1", "async.callback"=>#<Method: Thin::Connection#post_process>, "async.close"=>#<EventMachine::DefaultDeferrable:0x007fb14e002ee8>, "ORIGINAL_FULLPATH"=>"/assets/javascript/script.js", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x007fb14bdc8d28>, "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"019637209c2a571fc5316d45321f30052c4574139764c7122b42bb52b229e0d15c069039f6378ab313adfecc9fed8a68555b37972ddaf6efb20b2d1635c50e05", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>false, "action_dispatch.logger"=>#<ActiveSupport::TaggedLogging:0x007fb148ede7b0 @logger=#<ActiveSupport::BufferedLogger:0x007fb148edec38 @log_dest=#<File:/Users/anupritkale/work/at-api-server/log/development.log>, @log=#<Logger:0x007fb148edeb70 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007fb148edeaa8 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007fb148ede7d8 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007fb148ede9e0 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/anupritkale/work/at-api-server/log/development.log>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007fb148ede940 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007fb148ede8a0>>>>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x007fb14e41ff30 @filters=[#<Proc:0x007fb14e41fd00@/Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x007fb14e41fc88@/Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x007fb14e41fbc0@/Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x007fb14e41f0a8@/Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x007fb14e41f080@/Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb:15>]>, "action_dispatch.request_id"=>"f0a6a35c84103a823b25919abf931e87", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"32a5bf911809e585b956484f4b3c207a", "_csrf_token"=>"Zt1U3x1ZQxqlACErv+VvtOAVlQWfU2mRHUOHlX7eXEs="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>true, :renew=>false, :secret=>"a1fe0dd6a56ff60cf7fda1f42cce5c4ae3cc2b71dbef8d665a0da74943a8", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007fb14b8fadf0>, :id=>"32a5bf911809e585b956484f4b3c207a", :skip=>true}, "rack.request.cookie_hash"=>{"_sas_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTc5OWFhYzNlYzg2MmE1MDc1OGI2NmQ1YjkwODg0MjQ1BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpvYStsYi8vd0haaU1ZU3NJelJXRDRrWHdSaWlXQU5yNkNidjZZUnBQUkU9BjsARg==--9743b8430134acd7b8eb9fc363131e8b9516f8f2", "_at-api-server_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMyYTViZjkxMTgwOWU1ODViOTU2NDg0ZjRiM2MyMDdhBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVp0MVUzeDFaUXhxbEFDRXJ2K1Z2dE9BVmxRV2ZVMm1SSFVPSGxYN2VYRXM9BjsARg==--6fb448e84f074c0fbb2344e630add0389c36688f"}, "rack.request.cookie_string"=>"_sas_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTc5OWFhYzNlYzg2MmE1MDc1OGI2NmQ1YjkwODg0MjQ1BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpvYStsYi8vd0haaU1ZU3NJelJXRDRrWHdSaWlXQU5yNkNidjZZUnBQUkU9BjsARg%3D%3D--9743b8430134acd7b8eb9fc363131e8b9516f8f2; _at-api-server_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMyYTViZjkxMTgwOWU1ODViOTU2NDg0ZjRiM2MyMDdhBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVp0MVUzeDFaUXhxbEFDRXJ2K1Z2dE9BVmxRV2ZVMm1SSFVPSGxYN2VYRXM9BjsARg%3D%3D--6fb448e84f074c0fbb2344e630add0389c36688f", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x007fb14e3df6d8 @secret="019637209c2a571fc5316d45321f30052c4574139764c7122b42bb52b229e0d15c069039f6378ab313adfecc9fed8a68555b37972ddaf6efb20b2d1635c50e05", @set_cookies={}, @delete_cookies={}, @host="localhost", @secure=false, @closed=false, @cookies={"_sas_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTc5OWFhYzNlYzg2MmE1MDc1OGI2NmQ1YjkwODg0MjQ1BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpvYStsYi8vd0haaU1ZU3NJelJXRDRrWHdSaWlXQU5yNkNidjZZUnBQUkU9BjsARg==--9743b8430134acd7b8eb9fc363131e8b9516f8f2", "_at-api-server_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMyYTViZjkxMTgwOWU1ODViOTU2NDg0ZjRiM2MyMDdhBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVp0MVUzeDFaUXhxbEFDRXJ2K1Z2dE9BVmxRV2ZVMm1SSFVPSGxYN2VYRXM9BjsARg==--6fb448e84f074c0fbb2344e630add0389c36688f"}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x007fb14e55e798 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007fb14e3df6d8 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x007fb14e55e6d0 @secret="019637209c2a571fc5316d45321f30052c4574139764c7122b42bb52b229e0d15c069039f6378ab313adfecc9fed8a68555b37972ddaf6efb20b2d1635c50e05", @digest="SHA1", @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"32a5bf911809e585b956484f4b3c207a", "_csrf_token"=>"Zt1U3x1ZQxqlACErv+VvtOAVlQWfU2mRHUOHlX7eXEs="}, "warden"=>Warden::Proxy:70199750094380 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:lp, :rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007fb14e5fd3c0>}, "action_dispatch.request.path_parameters"=>{:controller=>"application", :action=>"render_error", :a=>"assets/javascript/script", :format=>"js"}, "action_controller.instance"=>#<ApplicationController:0x007fb14e3a9830 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x007fb14e3a96f0 @env={...}, @request_method="GET", @filtered_parameters={"controller"=>"application", "action"=>"render_error", "a"=>"assets/javascript/script", "format"=>"js"}, @method="GET", @fullpath="/assets/javascript/script.js">, @_response=#<ActionDispatch::Response:0x007fb14e3a96c8 @body=[], @header={"AppthorityApiVersion"=>"0.1"}, @status=200, @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x007fb14e3a96f0 @env={...}, @request_method="GET", @filtered_parameters={"controller"=>"application", "action"=>"render_error", "a"=>"assets/javascript/script", "format"=>"js"}, @method="GET", @fullpath="/assets/javascript/script.js">>, @_env={...}, @_prefixes=["application"], @_lookup_context=#<ActionView::LookupContext:0x007fb14e3a9330 @details_key=nil, @details={:locale=>[:en], :formats=>[:js, :html], :handlers=>[:erb, :builder, :coffee, :haml]}, @skip_default_locale=false, @cache=true, @prefixes=["application"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x007fb14e3a92b8 @paths=[/Users/anupritkale/work/at-api-server/app/views, /Users/anupritkale/.rvm/gems/ruby-1.9.3-p392/gems/devise-2.2.3/app/views]>>, @_action_name="render_error", @_response_body=nil, @_config={}, @_params={"controller"=>"application", "action"=>"render_error", "a"=>"assets/javascript/script", "format"=>"js"}>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"application", "action"=>"render_error", "a"=>"assets/javascript/script", "format"=>"js"}, "action_dispatch.request.formats"=>[text/javascript]}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant