Skip to content

Instantly share code, notes, and snippets.

@tonysun83
Created September 24, 2014 21:11
Show Gist options
  • Save tonysun83/58b738ab6573abf7c020 to your computer and use it in GitHub Desktop.
Save tonysun83/58b738ab6573abf7c020 to your computer and use it in GitHub Desktop.
{send_all_hits,#Ref<23272.0.0.6181>,
{httpd,
{mochiweb_request,#Port<0.24011>,'GET',
"/mango_test/_design/viewbug/_search/testidx?q=manager:true&limit=all",
{1,1},
{7,
{"host",
{'Host',"localhost:5984"},
{"cache-control",
{'Cache-Control',"max-age=0"},
{"accept",
{'Accept',
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},
nil,
{"accept-encoding",
{'Accept-Encoding',"gzip,deflate,sdch"},
nil,
{"accept-language",
{'Accept-Language',"en-US,en;q=0.8,ko;q=0.6"},
nil,nil}}},
nil},
{"user-agent",
{'User-Agent',
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.122 Safari/537.36"},
nil,
{"x-forwarded-for",
{'X-Forwarded-For',"127.0.0.1"},
nil,nil}}}}},
undefined,'GET',
[<<"mango_test">>,<<"_design">>,<<"viewbug">>,<<"_search">>,
<<"testidx">>],
[{<<"_view_cleanup">>,#Fun<chttpd_db.handle_view_cleanup_req.2>},
{<<"_compact">>,#Fun<chttpd_db.handle_compact_req.2>},
{<<"_design">>,#Fun<chttpd_db.handle_design_req.2>},
{<<"_temp_view">>,#Fun<chttpd_view.handle_temp_view_req.2>},
{<<"_changes">>,#Fun<chttpd_db.handle_changes_req.2>},
{<<"_search_cleanup">>,#Fun<dreyfus_httpd.handle_cleanup_req.2>},
{<<"_shards">>,#Fun<mem3_httpd.handle_shards_req.2>},
{<<"_index">>,#Fun<mango_httpd.handle_req.2>},
{<<"_find">>,#Fun<mango_httpd.handle_req.2>}],
{user_ctx,null,
[<<"_reader">>,<<"_writer">>,<<"_admin">>,server_admin],
undefined},
undefined,
[{<<"_view">>,#Fun<chttpd_view.handle_view_req.3>},
{<<"_show">>,#Fun<chttpd_show.handle_doc_show_req.3>},
{<<"_list">>,#Fun<chttpd_show.handle_view_list_req.3>},
{<<"_update">>,#Fun<chttpd_show.handle_doc_update_req.3>},
{<<"_info">>,#Fun<chttpd_db.handle_design_info_req.3>},
{<<"_rewrite">>,#Fun<chttpd_rewrite.handle_rewrite_req.3>},
{<<"_search">>,#Fun<dreyfus_httpd.handle_search_req.3>},
{<<"_search_info">>,#Fun<dreyfus_httpd.handle_info_req.3>}],
undefined,undefined,undefined}},
infinity]}
[<<"gen_server:call/3 L188">>,<<"dreyfus_httpd:handle_search_req/5 L35">>,
<<"chttpd:handle_request/1 L215">>,<<"mochiweb_http:headers/5 L126">>,
<<"proc_lib:init_p_do_apply/3 L227">>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment