Skip to content

Commit

Permalink
improved TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthropohedron committed Apr 7, 2015
1 parent 53e1403 commit 2900586
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ Controller.prototype = {
switch (topic) {
case "http-on-modify-request":
httpChannel = subject.QueryInterface(Ci.nsIHttpChannel);
//TODO
//httpChannel.setRequestHeader("X-Hello", "World", false);
//TODO: pre-request matching
//TODO: pre-request actions
break;
case "http-on-examine-response":
case "http-on-examine-cached-response":
case "http-on-examine-merged-response":
httpChannel = subject.QueryInterface(Ci.nsIHttpChannel);
//TODO
//TODO: post-response matching
//TODO: post-response actions
break;
}
return httpChannel;
Expand Down

0 comments on commit 2900586

Please sign in to comment.