From dd3f85e1d7c6c47064108129a46eede9497da1d7 Mon Sep 17 00:00:00 2001 From: Alexandr Granin Date: Fri, 28 Oct 2011 16:47:30 +1000 Subject: [PATCH] TestEcho - EhtmlServer added. - Tool "mochinum" by Bob Ippolito added. - Formating SecurityTransactions to ehtml table added. - Viewing all transactions added. --- ebin/report.log | 383 ++++++++++++++++++++++++++++ ebin/security_server.beam | Bin 1276 -> 1276 bytes ebin/test_echo.access | 123 +++++++++ ebin/test_echo.app | 6 +- ebin/test_echo_sup.beam | Bin 968 -> 984 bytes priv/docroot/.data_input.yaws.swp | Bin 12288 -> 16384 bytes priv/docroot/.data_process.yaws.swp | Bin 12288 -> 12288 bytes priv/docroot/data_input.yaws | 128 +++++----- priv/docroot/data_process.yaws | 54 ++-- src/test_echo_sup.erl | 8 +- 10 files changed, 607 insertions(+), 95 deletions(-) diff --git a/ebin/report.log b/ebin/report.log index a6c2f0a..e80d2e2 100644 --- a/ebin/report.log +++ b/ebin/report.log @@ -1612,3 +1612,386 @@ Yaws process died: {function_clause, {yaws_server,aloop,3}, {yaws_server,acceptor0,2}, {proc_lib,init_p_do_apply,3}]} + +=ERROR REPORT==== 28-Oct-2011::13:24:03 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{name,manual_datetime,{type,radio}}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::13:24:25 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{name,manual_datetime,{type,radio}}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::13:24:28 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{name,manual_datetime,{type,radio}}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::13:28:45 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_input.yaws:28: + syntax error before: ']' +generated file at: /home/gas/.yaws/yaws/embedded/m16.erl + +=ERROR REPORT==== 28-Oct-2011::13:30:34 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_input.yaws:26: + syntax error before: ']' +generated file at: /home/gas/.yaws/yaws/embedded/m18.erl + +=ERROR REPORT==== 28-Oct-2011::13:30:46 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_input.yaws:26: + syntax error before: ']' +generated file at: /home/gas/.yaws/yaws/embedded/m19.erl + +=ERROR REPORT==== 28-Oct-2011::13:40:14 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:6 +Reason: {undef,[{data_input,out, + ["result=Added (ECHO:[10/4/2011 10:10:10] {P:1.23, A:2100})."]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}]} +Req: {http_request,'POST',{abs_path,"/data_process.yaws"},{1,1}} +Stack: [{data_input,out, + ["result=Added (ECHO:[10/4/2011 10:10:10] {P:1.23, A:2100})."]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=ERROR REPORT==== 28-Oct-2011::13:41:01 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:6 +Reason: {undef,[{data_input,out,[]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}]} +Req: {http_request,'POST',{abs_path,"/data_process.yaws"},{1,1}} +Stack: [{data_input,out,[]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=ERROR REPORT==== 28-Oct-2011::13:41:04 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:6 +Reason: {undef,[{data_input,out,[]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}]} +Req: {http_request,'POST',{abs_path,"/data_process.yaws"},{1,1}} +Stack: [{data_input,out,[]}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=ERROR REPORT==== 28-Oct-2011::14:16:39 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:49: + variable 'Day' unsafe in 'case' (line 18) +generated file at: /home/gas/.yaws/yaws/embedded/m28.erl + +=ERROR REPORT==== 28-Oct-2011::14:19:55 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:48: + variable 'Date' is unbound +generated file at: /home/gas/.yaws/yaws/embedded/m29.erl + +=ERROR REPORT==== 28-Oct-2011::14:20:04 === +
 
+{badarg,[{erlang,atom_to_list,[{2011,10,28}]},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_server,safe_ehtml_expand,1},
+         {yaws_server,handle_out_reply,5},
+         {yaws_server,deliver_dyn_part,8}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:21:38 === +
 
+{function_clause,[{yaws_api,ehtml_expand,[{2011,10,28}]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:22:00 === +
 
+{function_clause,[{yaws_api,ehtml_expand,[{2011,10,28}]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:23:26 === +Dynamic compiler err /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:50: + syntax error before: '++' +generated file at: /home/gas/.yaws/yaws/embedded/m33.erl + +=ERROR REPORT==== 28-Oct-2011::14:23:37 === +
 
+{badarg,[{erlang,atom_to_list,[{2011,10,28}]},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_api,ehtml_expand,1},
+         {yaws_server,safe_ehtml_expand,1},
+         {yaws_server,handle_out_reply,5},
+         {yaws_server,deliver_dyn_part,8}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:56:16 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{ssi,"input_form.inc","%%",
+                                   [{"ResultPlaceholder",[]}]}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3},
+                  {yaws_server,acceptor0,2}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:57:58 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{ssi,"input_form.inc","%%",
+                                   [{"ResultPlaceholder",[]}]}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3},
+                  {yaws_server,acceptor0,2}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:57:58 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{ssi,"input_form.inc","%%",
+                                   [{"ResultPlaceholder",[]}]}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3},
+                  {yaws_server,acceptor0,2}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:57:59 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{ssi,"input_form.inc","%%",
+                                   [{"ResultPlaceholder",[]}]}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3},
+                  {yaws_server,acceptor0,2}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::14:58:00 === +
 
+{function_clause,[{yaws_api,ehtml_attrs,
+                            [[{ssi,"input_form.inc","%%",
+                                   [{"ResultPlaceholder",[]}]}]]},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_api,ehtml_expand,1},
+                  {yaws_server,safe_ehtml_expand,1},
+                  {yaws_server,handle_out_reply,5},
+                  {yaws_server,deliver_dyn_part,8},
+                  {yaws_server,aloop,3},
+                  {yaws_server,acceptor0,2}]}
+ 
+ +=ERROR REPORT==== 28-Oct-2011::15:15:40 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:15:45 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:15:47 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:15:48 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:24 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:24 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:25 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:25 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:25 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:26 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:26 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:26 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:27 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:27 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:27 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:27 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:40 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:40 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:16:43 === +Failed to yssi "data_input.yaws?result=Added." + +=ERROR REPORT==== 28-Oct-2011::15:20:11 === +ERROR: Can't parse post body for 'GET' requests: URL: "/home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws" +=ERROR REPORT==== 28-Oct-2011::15:20:11 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:6 +Reason: {{badmatch,undefined}, + [{m51,out,1}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}]} +Req: {http_request,'GET',{abs_path,"/data_process.yaws"},{1,1}} +Stack: [{m51,out,1}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=ERROR REPORT==== 28-Oct-2011::15:20:13 === +ERROR: Can't parse post body for 'GET' requests: URL: "/home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws" +=ERROR REPORT==== 28-Oct-2011::15:20:13 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_process.yaws:6 +Reason: {{badmatch,undefined}, + [{m51,out,1}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}]} +Req: {http_request,'GET',{abs_path,"/data_process.yaws"},{1,1}} +Stack: [{m51,out,1}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=ERROR REPORT==== 28-Oct-2011::16:34:11 === +** Generic server ehtml_server terminating +** Last message in was {list_to_table,[{{{2011,10,28},{16,34,2}}, + {'ECHO',1.22,4.2e3}}, + {{{2011,10,28},{16,34,8}}, + {'ECHO',1.22,3644.0}}, + {{{2011,10,28},{16,33,56}}, + {'ECHO',1.22,3.5e3}}]} +** When Server state == {ehtml,{p,[],"Ehtml server ok."}} +** Reason for termination == +** {badarg,[{erlang,list_to_float,[1.22]}, + {ehtml_server,make_table_row,1}, + {ehtml_server,make_table_rows,1}, + {ehtml_server,handle_call,3}, + {gen_server,handle_msg,5}, + {proc_lib,init_p_do_apply,3}]} + +=ERROR REPORT==== 28-Oct-2011::16:34:11 === + + +ERROR erlang code crashed: + File: /home/gas/Erlang/TestEcho/priv/docroot/data_output.yaws:4 +Reason: {{badarg,[{erlang,list_to_float,[1.22]}, + {ehtml_server,make_table_row,1}, + {ehtml_server,make_table_rows,1}, + {ehtml_server,handle_call,3}, + {gen_server,handle_msg,5}, + {proc_lib,init_p_do_apply,3}]}, + {gen_server,call, + [ehtml_server, + {list_to_table,[{{{2011,10,28},{16,34,2}}, + {'ECHO',1.22,4.2e3}}, + {{{2011,10,28},{16,34,8}}, + {'ECHO',1.22,3644.0}}, + {{{2011,10,28},{16,33,56}}, + {'ECHO',1.22,3.5e3}}]}]}} +Req: {http_request,'GET',{abs_path,"/data_output.yaws"},{1,1}} +Stack: [{gen_server,call,2}, + {yaws_server,deliver_dyn_part,8}, + {yaws_server,aloop,3}, + {yaws_server,acceptor0,2}, + {proc_lib,init_p_do_apply,3}] + +=INFO REPORT==== 28-Oct-2011::16:34:11 === +stop_ready([], <0.55.0>) diff --git a/ebin/security_server.beam b/ebin/security_server.beam index 703a93b988c0df399e8a6ee9bc8e0c00572649f7..1b8586f8f0c24f1888bc818f34e10a43b89aa3f4 100644 GIT binary patch delta 17 Ycmeyv`G<4E8WvWzM9D@r2><{9 delta 17 Ycmeyv`G<4E8WvWjM8-tU$s1X`0X#zm(EtDd diff --git a/ebin/test_echo.access b/ebin/test_echo.access index 4ecc712..b9d059a 100644 --- a/ebin/test_echo.access +++ b/ebin/test_echo.access @@ -245,3 +245,126 @@ 127.0.0.1 - - [28/Oct/2011:12:18:16 +1000] "POST /data_process.yaws HTTP/1.1" 200 452 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" 127.0.0.1 - - [28/Oct/2011:12:18:31 +1000] "POST /data_process.yaws HTTP/1.1" 500 1201 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" 127.0.0.1 - - [28/Oct/2011:12:21:58 +1000] "POST /data_process.yaws HTTP/1.1" 200 330 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:17:49 +1000] "GET /data_input.yaws HTTP/1.1" 200 1520 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:18:10 +1000] "POST /data_process.yaws HTTP/1.1" 200 330 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:24:01 +1000] "GET /data_input.yaws HTTP/1.1" 500 634 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:24:22 +1000] "GET /data_input.yaws HTTP/1.1" 500 634 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:24:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 332 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:24:25 +1000] "GET /data_input.yaws HTTP/1.1" 500 634 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:24:34 +1000] "GET /data_input.yaws HTTP/1.1" 200 1520 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:25:07 +1000] "GET /data_input.yaws HTTP/1.1" 200 1649 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:25:37 +1000] "GET /data_input.yaws HTTP/1.1" 200 1650 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:26:43 +1000] "GET /data_input.yaws HTTP/1.1" 200 1697 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:26:43 +1000] "GET /data_input.yaws HTTP/1.1" 200 1697 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:26:43 +1000] "GET /data_input.yaws HTTP/1.1" 200 1697 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:26:49 +1000] "GET /data_input.yaws HTTP/1.1" 200 1697 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:26:52 +1000] "GET /data_input.yaws HTTP/1.1" 200 1697 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:27:56 +1000] "GET /data_input.yaws HTTP/1.1" 200 1726 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:28:44 +1000] "GET /data_input.yaws HTTP/1.1" 200 377 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:28:59 +1000] "GET /data_input.yaws HTTP/1.1" 200 1736 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:30:32 +1000] "GET /data_input.yaws HTTP/1.1" 200 377 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:30:44 +1000] "GET /data_input.yaws HTTP/1.1" 200 377 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:30:53 +1000] "GET /data_input.yaws HTTP/1.1" 200 1756 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:32:26 +1000] "GET /data_input.yaws HTTP/1.1" 200 1756 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:39:47 +1000] "GET /data_input.yaws HTTP/1.1" 200 1756 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:40:14 +1000] "POST /data_process.yaws HTTP/1.1" 500 917 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:40:59 +1000] "POST /data_process.yaws HTTP/1.1" 500 747 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:41:02 +1000] "POST /data_process.yaws HTTP/1.1" 500 747 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:13:55:48 +1000] "POST /data_process.yaws HTTP/1.1" 200 344 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:15:13 +1000] "GET /data_input.yaws HTTP/1.1" 200 1813 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:15:37 +1000] "GET /data_input.yaws HTTP/1.1" 200 1813 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:15:40 +1000] "GET /data_input.yaws HTTP/1.1" 200 1813 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:15:46 +1000] "GET /data_input.yaws HTTP/1.1" 200 1826 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:16:34 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:16:37 +1000] "POST /data_process.yaws HTTP/1.1" 200 470 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:19:52 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:19:55 +1000] "POST /data_process.yaws HTTP/1.1" 200 455 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:20:01 +1000] "POST /data_process.yaws HTTP/1.1" 500 531 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:21:37 +1000] "POST /data_process.yaws HTTP/1.1" 500 601 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:21:58 +1000] "POST /data_process.yaws HTTP/1.1" 500 601 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:22:53 +1000] "POST /data_process.yaws HTTP/1.1" 200 288 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:23:17 +1000] "POST /data_process.yaws HTTP/1.1" 200 288 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:23:26 +1000] "POST /data_process.yaws HTTP/1.1" 200 454 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:23:35 +1000] "POST /data_process.yaws HTTP/1.1" 500 531 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:45:21 +1000] "GET /data_input.yaws HTTP/1.1" 200 2442 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:46:00 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:46:00 +1000] "GET /data_input.yaws HTTP/1.1" 200 2442 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:56:15 +1000] "GET /data_input.yaws HTTP/1.1" 500 707 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:57:57 +1000] "GET /data_input.yaws HTTP/1.1" 500 707 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:57:57 +1000] "GET /data_input.yaws HTTP/1.1" 500 707 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:57:57 +1000] "GET /data_input.yaws HTTP/1.1" 500 707 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:14:57:57 +1000] "GET /data_input.yaws HTTP/1.1" 500 707 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:01:48 +1000] "GET /data_input.yaws HTTP/1.1" 200 2259 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:07:04 +1000] "GET /data_input.yaws HTTP/1.1" 200 711 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:07:07 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:07:07 +1000] "GET /data_input.yaws HTTP/1.1" 200 711 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:09:10 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:09:13 +1000] "GET /data_input.yaws HTTP/1.1" 200 628 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:09:37 +1000] "GET /data_input.yaws HTTP/1.1" 200 628 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:11:01 +1000] "GET /data_input.yaws HTTP/1.1" 200 659 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:12:49 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:37 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:37 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:43 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:43 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:46 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:15:46 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:22 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:22 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:22 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:25 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:37 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:37 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:40 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:16:40 +1000] "POST /data_process.yaws HTTP/1.1" 200 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:17:28 +1000] "POST /data_process.yaws HTTP/1.1" 404 392 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:17:55 +1000] "POST /data_process.yaws HTTP/1.1" 404 392 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:17:58 +1000] "POST /data_process.yaws HTTP/1.1" 404 393 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:19:46 +1000] "POST /data_process.yaws HTTP/1.1" 302 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:20:07 +1000] "POST /data_process.yaws HTTP/1.1" 302 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:20:10 +1000] "POST /data_process.yaws HTTP/1.1" 302 271 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:20:10 +1000] "GET /data_process.yaws HTTP/1.1" 500 731 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:20:10 +1000] "GET /data_process.yaws HTTP/1.1" 500 731 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:34:59 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:35:05 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:35:17 +1000] "GET /data_output.yaws HTTP/1.1" 200 0 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:15:36:11 +1000] "GET /data_output.yaws HTTP/1.1" 200 176 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:08:03 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_output.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:08:06 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:08:06 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:08:06 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:08:09 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:33:52 +1000] "GET /data_output.yaws HTTP/1.1" 200 180 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:33:52 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_output.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:33:52 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:33:55 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:33:55 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:34:01 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:34:01 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:34:07 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:34:07 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:34:10 +1000] "GET /data_output.yaws HTTP/1.1" 500 1234 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:20 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:20 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:23 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:29 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:29 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:38 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:38 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:35:38 +1000] "GET /data_output.yaws HTTP/1.1" 200 555 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:37:23 +1000] "GET /data_output.yaws HTTP/1.1" 200 610 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:44 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:44 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:47 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:53 +1000] "POST /data_process.yaws HTTP/1.1" 200 284 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:56 +1000] "GET /data_input.yaws HTTP/1.1" 200 1852 "http://localhost:8080/data_process.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:56 +1000] "GET /index.yaws HTTP/1.1" 200 403 "http://localhost:8080/data_input.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" +127.0.0.1 - - [28/Oct/2011:16:46:59 +1000] "GET /data_output.yaws HTTP/1.1" 200 401 "http://localhost:8080/index.yaws" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6" diff --git a/ebin/test_echo.app b/ebin/test_echo.app index 303e164..9b53c44 100755 --- a/ebin/test_echo.app +++ b/ebin/test_echo.app @@ -2,11 +2,11 @@ {vsn, "0.1.0"}, {modules, [test_echo, test_echo_app, test_echo_sup, test_echo_handler, security_server, data_collection, - date_manipulation, test_data]}, + date_manipulation, test_data, ehtml_server]}, {description, "Test program for Security Transactions."}, - {registered, [test_echo_handler]}, {mod, {test_echo_app, []}}, {env, [{data_store_server, security_server}, - {data_process_server, security_server}]}, + {data_process_server, security_server}, + {ehtml_format_server, ehtml_server}]}, {applications, [kernel, stdlib]} ]}. diff --git a/ebin/test_echo_sup.beam b/ebin/test_echo_sup.beam index fe9650257c63dd80fbf124ca0474efbfd510f323..a74cc07ac762b2dce6d50e5816a5d51584bd68eb 100644 GIT binary patch delta 218 zcmV<0044v(2iOM)Mo&^P000Bfu?RZ?f1&^Y0aO*7QBrNZ3_}kTmvJq8V}vO+ z_P!%|^DNU;P=!lEX)2A~ub996Ux^M;akMGyiCfiC7q7tfqftFQH^kW}rX8EXB~ze! z;Cp<@K>Q%i>@r)AFPr0u1DV*mi9ZY0nK>(B20xJ+X^uibV3mO?y>)Qs_ Uy5S9z5(8=l24NLpGn0V>M_MyoDF6Tf delta 202 zcmV;*05$*E2gnBqMo&^P000BPu?RZ?f0Fn7RUIWv`I#IrNSbxAa`+ilOi;)s)IFg)AqErsR>fz8|Sq75k=zf{dgu6_36_QiA z=}dAVY1(=AzkE)H@B&syPe7CB0xJ*~Ea!wJ$n4lp%8Z-2h+oK)A_Hm#0$~MV0h5sf EN9urC3IG5A diff --git a/priv/docroot/.data_input.yaws.swp b/priv/docroot/.data_input.yaws.swp index 7a24f647167c1bf81fa4e1296ce6440d970f5079..20d07d79f6758102e9c76dc0ad8c5106733c2529 100644 GIT binary patch literal 16384 zcmeI2TWB0r7{^arZ(EyQ6j4OvbQDP?o5`gyZQL$K+iLGuQ=x`%cIG5AWM^ibIg?~v zw$cisJ}A@|(MOA5t9U~YTOZUH#j03*5w%o`FCs{ve391wnVG$0lih7VYtb|C%gj0R zoy-2eGv}OdGP$0SEj#F7cR#_gl8|LX$9MWGZYMwAK*$6OWNzC7cIn}uVEa5hFxbET z;bsL6!BF4i=b1a9@8^NoWLTbF@a-wx^bFtggl;my#%#9`itZwtzP#3(wWjiw0!o3Z z0-+dBuj?TFeZ4(0?=EdMz4@j`tGCsKQa~x76i^B%1(X6x0i}RaKq>IwS3ndNlc(@A z7bib;cXD3Ta9)z6mnP@whWklUosL%UgR$w>FkftKcwfcP<*f|| zV#6J*O@(WdPU4f3eCrzfD>eFt)!MQzw%p8fA@kd`-y7R*W$rB7Qo!@v5K?@XInZAC z%ng_!Ju>EauCSyh4#w)2qOW7-w>4R@+(l_g6brHzJ|mDUIcz4+-3ejAo9Hca0{cnn z;W$z8cW)1R7x}m(Ow^w=Sxsmgnc%e3GN-tREarW=th2Y{hS6DRZPP=K?3&x!zN8$L55}BUNlCC=9z!`E ztfa&(;pEZ8xaT|a5s9B6_z^>ijTL;);6V_5Sr&OT9*DSI@Pcx=+>Mn5!bZclD%xHi zgn2Pr?qWxyg96FqE7u}9s^k$*o6+Sw3$d(e6oYglH4f@G(xHUx8*=44K*u5^tP|JA=CKoo;n7eO)RW$v2s z0v5U^AGcj@(sY(;S~L-tyvZ&)QkFR*_mfn-VW1nR!2(X72)SRJVt(f^rddDQOK5AT zH%`1zbPlgUAwn|T&&!i(Ph~S!Z+46P{+-G#%TPu~I-|=wFvxjkF-tOXlLJG}%xp&3 zBG0q(V|t2Bk6a{JKA_XKuxLeMjiza>%8VWtLCvxPBIEyY#O*T9m+?PBc(WSKJ91>`$`+rYbs?cV^$z{_9;OoAogRmAmcK^k;|J3tDYM+|=! zoB^ML_rcrXO>hFd4%DF(PzopolmbctrGQdEDWDWk3jALbK(r#94F1ZCD1nG6qelTz zLlW6hfE3-1uIn>o0EI{@j;K-@MlGL@Z_v7RdmgL$tooYj^P5+QP;n-H*PMNj8Ix3a z)bj8OvcM*IMrY`M6xL<*IQ)xW>ea`|SEw21UumaZqxJWr>sm(5y;ns1TElVtJ^%1Y UyuBdf=>=IY$ap%?E^pNR1sZItIsgCw delta 1117 zcmajdUr19?90%~SOBVgx-TM&I2#=R*!Je0J{dcYfy{&TnU8 z!Z2~UcA&|B;uLH19Uwf_L@$rcpN>~K=+ic$tHDI}zGva+Lu0n7JhyDzZ7~?QvD%aC zseV?KeZr<#S@}T|(G(Y$I)0{#s15dl6)K?u{_G%Hfu}GB(~y8pXa+a@-A=R&(=Y_B zV1gwJ(PNl|UXWq6l4ucTAPgO#RMI%Ttsr_0FJJ-g!VM7Nl|U4MAY6o#upd@&%wO;s z7JGoE|f?`lltUFRunTzeibrty{=yi1A3bOY_#%A^*dEm zFg(StZN1LP?|H24fy{q9cE?6jBgxJ!H&(khS$sAg9t>@N`1AS}Q!(r{ zub(VGbz5qwDa82>6gs7KfPau&btU_f-+~oC>f-IPjdw~G9+B-8+U{CY`K0LJv$BKV z5^emA?9|4!LhSYG@dfW5Eq~K%!>DNQ@4QyM)?1^E^$q%X#BJB&4B~7<6E{k={Cz`n z$up>m+g|bv_-~zj%vW=KlQy3Z4W{DZOwwp^KqBzkhN)1l=a&;8c~=(gEFS&{qmt=Iqy^F{{hTt_Hh6J diff --git a/priv/docroot/.data_process.yaws.swp b/priv/docroot/.data_process.yaws.swp index af7cc0e9821fb449568e9f2bc06531fb2adc6847..f11873268b51c6877589ac4c7789c11900af201b 100644 GIT binary patch delta 892 zcma*jKTH!*90%|pk$+c2AUYVL@^XgS)^~TU#3*_a2`4FP6$@evN;$X_8e5LEr-qaZ zurQM7n;b~P;=pDYj8PX7oxs7!W=tGhT$JeO;P+gN<4 zFU8KN9fZ+LwBEaV?R{e_eW@p!FpG~@+MgR6O;!3@OY_gBMlKPZ4OKdI(ZWv5U1}og zfrGGpfap7XfM>7_dFX^X*lHvyLl%+{hFbW#ALl|D7QusAxCIG_Lj!zjAlihtPzI-g z=4b?yA-D-T)Ic?CE_7z?+@;5^)ut!Xhld zb%;r8Rn@=hgb{0x=>Ih|U7U`|r*v)7&F8vE*Tx)crVBUUTkzApCD9XWmv@!)UGvHo z*u%<-&R7`NSyrWz?H|EeX_~X)yPT!%;)9&)c`A`qnX?N_?zSx3lDT+sGA&dd7Q_5V zEz?*+jf+S8O4wsc7t3XfZpL*o*(ukaunUp?LU!DaR=UoU)X&5$Km0@qiOR_*uv>XQGwe z#DdZmw3n4*L5!&#LAFR2n?;)$gDKmcbS&oFBT2kcj*DI`u1O@7ocsLWs)zPz Xr|3R33z2Tl5(C4ZQK@hyjKooZJpchY`)Pp)fke$T+1N+i+pawqS$(L`Q{McUGUQ6G~*RNIh zj5*D4j578%^5EXW-iiV_#t(cHtgKD1!zu_?ckr6+DMs=s_7~AO|KW@H@`f8+Z+mVJFTO zSr0=K>Tm@LkOl>g@T$My2OPk6_za)mBRql?sKX6dfLX9&dqbx)3fb}TnnkHYiFy{?s#s20)3pG=+`Hs z>yR5ozUg%QRo`26TwgY2d#eA{8Yv=^R%#q;|1U&8K@*JL2~LM%g5t(F>Ba@B7!&lz ioTR*%rIs;G&x`_nF-%IBCKb&*wM{|ib2++`+c^f&H=mpU diff --git a/priv/docroot/data_input.yaws b/priv/docroot/data_input.yaws index 00d1141..7375c21 100755 --- a/priv/docroot/data_input.yaws +++ b/priv/docroot/data_input.yaws @@ -6,68 +6,78 @@ out(A) -> - ResHtml = case queryvar(A, "result") of - {ok, V} -> show(V); - undefined -> show("") + Result = case queryvar(A, "result") of + {ok, V} -> V; + undefined -> "" end, - ResHtml. -show(Result) -> - {ehtml, - {form, [{action, "data_process.yaws"}, {method, "post"}], - {table, [], [ - {tr, [], [ - {td, [], "Security name:"}, - {td, [], {input, [{name, security}, {type, text}]}} - ]}, - {tr, [], [ - {td, [], "Date (dd/mm/yyyy):"}, - {td, [], [ - {input, [{name, transaction_day}, {type, text}, {maxlength, "2"}, {size, "2"}]}, - {select, [{name, transaction_month}], [ - {option, [{value, "1"}], "January"}, - {option, [{value, "2"}], "Febuary"}, - {option, [{value, "3"}], "March"}, - {option, [{value, "4"}], "April"}, - {option, [{value, "5"}], "May"}, - {option, [{value, "6"}], "June"}, - {option, [{value, "7"}], "July"}, - {option, [{value, "8"}], "August"}, - {option, [{value, "9"}], "September"}, - {option, [{value, "10"}], "October"}, - {option, [{value, "11"}], "November"}, - {option, [{value, "12"}], "December"} - ]}, - {input, [{name, transaction_year}, {type, text}, {maxlength, "4"}, {size, "4"}]} - ]} - ]}, - {tr, [], [ - {td, [], "Time (hh:mm:ss):"}, - {td, [], [ - {input, [{name, transaction_hour}, {type, text}, {maxlength, "2"}, {size, "2"}]}, - {input, [{name, transaction_minute}, {type, text}, {maxlength, "2"}, {size, "2"}]}, - {input, [{name, transaction_second}, {type, text}, {maxlength, "2"}, {size, "2"}]} - ]} - ]}, - {tr, [], [ - {td, [], "Price:"}, - {td, [], {input, [{name, price}, {type, text}]}} - ]}, - {tr, [], [ - {td, [], "Amount:"}, - {td, [], {input, [{name, amount}, {type, text}]}} - ]}, - {tr, [], [ - {td, [], ""}, - {td, [], {input, [{type, submit}]}} - ]}, - {tr, [], [ - {td, [], ""}, - {td, [], Result} + +{ehtml, {form, [{action, "data_process.yaws"}, {method, "post"}], + +{table, [], [ + + {tr, [], [ + {td, [], "Security name:"}, + {td, [], {input, [{name, security}, {type, text}, {value, "ECHO"}]}} + ]}, + {tr, [], [ + {td, [], "Price:"}, + {td, [], {input, [{name, price}, {type, text}, {value, "1.22"}]}} + ]}, + {tr, [], [ + {td, [], "Amount:"}, + {td, [], {input, [{name, amount}, {type, text}, {value, 3500}]}} + ]}, + {tr, [], [ + {td, [], [ + {input, [{name, datetime_method}, {type, radio}, {checked, "checked"}, {value, "local_datetime"}], "Local Datetime"} + ]} + ]}, + {tr, [], [ + {td, [], [ + {input, [{name, datetime_method}, {type, radio}, {value, "manual_datetime"}], "Manual Datetime"} + ]} + ]}, + {tr, [], [ + {td, [], "Date (dd/mm/yyyy):"}, + {td, [], [ + {input, [{name, transaction_day}, {type, text}, {maxlength, "2"}, {size, "2"}, {value, "10"}]}, + {select, [{name, transaction_month}], [ + {option, [{value, "1"}], "January"}, + {option, [{value, "2"}], "Febuary"}, + {option, [{value, "3"}], "March"}, + {option, [{value, "4"}], "April"}, + {option, [{value, "5"}], "May"}, + {option, [{value, "6"}], "June"}, + {option, [{value, "7"}], "July"}, + {option, [{value, "8"}], "August"}, + {option, [{value, "9"}], "September"}, + {option, [{value, "10"}], "October"}, + {option, [{value, "11"}], "November"}, + {option, [{value, "12"}], "December"} + ]}, + {input, [{name, transaction_year}, {type, text}, {value, "2012"}, {maxlength, "4"}, {size, "4"}]} + ]} + ]}, + {tr, [], [ + {td, [], "Time (hh:mm:ss):"}, + {td, [], [ + {input, [{name, transaction_hour}, {type, text}, {maxlength, "2"}, {size, "2"}, {value, "10"}]}, + {input, [{name, transaction_minute}, {type, text}, {maxlength, "2"}, {size, "2"}, {value, "10"}]}, + {input, [{name, transaction_second}, {type, text}, {maxlength, "2"}, {size, "2"}, {value, "10"}]} ]} - ]} - } - }. + ]}, + {tr, [], [ + {td, [], ""}, + {td, [], {input, [{type, submit}]}} + ]}, + {tr, [], [ + {td, [], ""}, + {td, [], Result} + ]} +]} + +}}. diff --git a/priv/docroot/data_process.yaws b/priv/docroot/data_process.yaws index cf52147..aa73d60 100644 --- a/priv/docroot/data_process.yaws +++ b/priv/docroot/data_process.yaws @@ -6,49 +6,47 @@ out(A) -> + {ok, DTMethod} = postvar(A, "datetime_method"), + {ok, SecurityName} = postvar(A, "security"), - {ok, Day} = postvar(A, "transaction_day"), - {ok, Month} = postvar(A, "transaction_month"), - {ok, Year} = postvar(A, "transaction_year"), - {ok, Hour} = postvar(A, "transaction_hour"), - {ok, Minute} = postvar(A, "transaction_minute"), - {ok, Second} = postvar(A, "transaction_second"), + SN = list_to_atom(SecurityName), + + DateTime = case DTMethod of + "local_datetime" -> erlang:localtime(); + _ -> + {ok, Day} = postvar(A, "transaction_day"), + {ok, Month} = postvar(A, "transaction_month"), + {ok, Year} = postvar(A, "transaction_year"), + {ok, Hour} = postvar(A, "transaction_hour"), + {ok, Minute} = postvar(A, "transaction_minute"), + {ok, Second} = postvar(A, "transaction_second"), + Y = list_to_integer(Year), + M = list_to_integer(Month), + D = list_to_integer(Day), + H = list_to_integer(Hour), + MM = list_to_integer(Minute), + S = list_to_integer(Second), + {{Y,M,D}, {H,MM,S}} + end, + {ok, Price} = postvar(A, "price"), {ok, Amount} = postvar(A, "amount"), - SN = list_to_atom(SecurityName), - Y = list_to_integer(Year), - M = list_to_integer(Month), - D = list_to_integer(Day), - H = list_to_integer(Hour), - MM = list_to_integer(Minute), - S = list_to_integer(Second), P = case string:to_float(Price) of - {error, _Reason} -> list_to_integer(Price); + {error, _} -> list_to_integer(Price) / 1.0; {N, _} -> N end, Am = case string:to_float(Amount) of - {error, _Reason2} -> list_to_integer(Amount); + {error, _} -> list_to_integer(Amount) / 1.0; {N2, _} -> N2 end, - DateTime = {{Y, M, D}, {H, MM, S}}, SecData = {SN, P, Am}, security_server:add_transaction({DateTime, SecData}), - {ehtml, {p, [], "Added (" - ++ SecurityName - ++ ":[" ++ Day - ++ "/" ++ Month - ++ "/" ++ Year - ++ " " ++ Hour - ++ ":" ++ Minute - ++ ":" ++ Second - ++ "] {P:" ++ Price - ++ ", A:" ++ Amount - ++ "})." - }}. + Result = "Added", + {ehtml, {p, [], Result}}. diff --git a/src/test_echo_sup.erl b/src/test_echo_sup.erl index 9e50418..d5b38ea 100755 --- a/src/test_echo_sup.erl +++ b/src/test_echo_sup.erl @@ -17,14 +17,12 @@ start_tracer() -> start_link() -> {ok, PID} = supervisor:start_link({local, ?MODULE}, ?MODULE, []), - unlink(PID). + unlink(PID). %PID = console pid(). Unlinked for console-crash independing. init([]) -> TestEcho = {test_echo, {test_echo, start, []}, permanent,2000,worker,[test_echo]}, SecurityServer = {security_server, {security_server, start, []}, permanent,2000,worker,[security_server]}, + EhtmlServer = {ehtml_server, {ehtml_server, start, []}, permanent,2000,worker,[ehtml_server]}, -% code:load_file(data_collection), -% code:load_file(date_manipulation), - - {ok,{{one_for_one,0,1}, [TestEcho, SecurityServer]}}. + {ok,{{one_for_one,0,1}, [TestEcho, SecurityServer, EhtmlServer]}}.