Currently, content_file contains the encoded version of a web response. This causes the $mech->content() method and the :content_file to have different encodings. Given that the majority of the web is using compression, it appears that most users would want to use $mech->content() or $mech->save_content() instead of :content_file. More importantly, this difference should be noted since the word "content" in either case is not clearly specified as encoded or decoded.
Currently, content_file contains the encoded version of a web response. This causes the
$mech->content()
method and the:content_file
to have different encodings. Given that the majority of the web is using compression, it appears that most users would want to use$mech->content()
or$mech->save_content()
instead of:content_file
. More importantly, this difference should be noted since the word "content" in either case is not clearly specified as encoded or decoded.