diff --git a/lib/recorder.js b/lib/recorder.js
index 7053072..9b89488 100644
--- a/lib/recorder.js
+++ b/lib/recorder.js
@@ -115,6 +115,7 @@ function normalizeInfo(id,info){
singleRecord.reqHeader = info.req.headers;
singleRecord.startTime = info.startTime;
singleRecord.reqBody = info.reqBody || "";
+ singleRecord.protocol = info.protocol;
//res
if(info.endTime){
diff --git a/lib/requestHandler.js b/lib/requestHandler.js
index f4acd28..775c108 100644
--- a/lib/requestHandler.js
+++ b/lib/requestHandler.js
@@ -31,6 +31,7 @@ function userRequestHandler(req,userRes){
host : host,
method : req.method,
path : path,
+ protocol : protocol,
url : protocol + "://" + host + path,
req : req,
startTime : new Date().getTime()
diff --git a/package.json b/package.json
index 4540a3c..697397c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "anyproxy",
- "version": "2.7.4",
+ "version": "2.7.5",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js",
"bin": {
diff --git a/web/css/iconfont.eot b/web/css/iconfont.eot
new file mode 100644
index 0000000..3435f0d
Binary files /dev/null and b/web/css/iconfont.eot differ
diff --git a/web/css/iconfont.svg b/web/css/iconfont.svg
new file mode 100644
index 0000000..136686e
--- /dev/null
+++ b/web/css/iconfont.svg
@@ -0,0 +1,40 @@
+
+
+
diff --git a/web/css/iconfont.ttf b/web/css/iconfont.ttf
new file mode 100644
index 0000000..b4fd433
Binary files /dev/null and b/web/css/iconfont.ttf differ
diff --git a/web/css/iconfont.woff b/web/css/iconfont.woff
new file mode 100644
index 0000000..73446a1
Binary files /dev/null and b/web/css/iconfont.woff differ
diff --git a/web/css/page.css b/web/css/page.css
index cb03805..3db3884 100644
--- a/web/css/page.css
+++ b/web/css/page.css
@@ -1,3 +1,20 @@
+@font-face {font-family: 'iconfont';
+ src: url('iconfont.eot'); /* IE9*/
+ src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('iconfont.woff') format('woff'), /* chrome、firefox */
+ url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
+ url('iconfont.svg#uxiconfont') format('svg'); /* iOS 4.1- */
+}
+
+.iconfont{
+ font-family:"iconfont" !important;
+ font-size:16px;font-style:normal;
+ -webkit-font-smoothing: antialiased;
+ -webkit-text-stroke-width: 0.2px;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+
.topHead{
background: #000;
height: 42px;
@@ -174,6 +191,16 @@
}
+.protocol{
+ display: none;
+}
+
+.protocol.protocol_https{
+ display: inline;
+ font-size: 14px;
+ color: #777;
+}
+
#dragbar{
position:absolute;
left:0px;
diff --git a/web/index.html b/web/index.html
index 1cd6792..68232fb 100644
--- a/web/index.html
+++ b/web/index.html
@@ -53,7 +53,7 @@