Browse files

Further clarification for the new --codecs flag

  • Loading branch information...
Roberto Peon
Roberto Peon committed Dec 8, 2012
1 parent c65c99e commit 0f036fb89ab797c5bb5ccdfbb01b0468db2e188f
Showing with 10 additions and 0 deletions.
  1. +10 −0 example_code/README
@@ -11,12 +11,22 @@ A spec for .har files can be found here:
If you wish to implement a new codec and test it, there are two easy approaches.
1) Develop it in python, and load it into a module. An examination of should show how this is done. is a good example.
2) Develop it in whatever language, and use the 'fork_codec' module to fork-exec
it in a separate process, and communicate to/from it with pipes. A short example
of a program that could be fork-exec'd is '', which accepts
HTTP1 formatted input from stdin, and produces 8-byte unsigned int-followed by
compressed-payload for each HTTP frame on stdout.
+In either case, you can include your compression module from the command-line.
+The following example loads,, and,
+which in turn launches
+ ./ \
+ --codecs="http1_gzip,spdy4_codec,fork_codec=\"$PWD/\""
+ The format of the "--codecs" parameter is:
+ --codecs=(module_name[="module_params"])*
You can gather a .har file for a session you wish to analyze with Chome's
Developer Tools:

0 comments on commit 0f036fb

Please sign in to comment.