[webkit-gtk] How to view file saved by webkit_web_view_save_to_file

Niranjan Rao nhrdls at gmail.com
Thu Jan 23 13:11:43 PST 2014


I have saved file using webkit_web_view_save_to_file. Mode is set to 
WEBKIT_SAVE_MODE_MHTML. I would like to see same file in web view again.

What do I need to do to see this file in web view? Both MiniBrowser and 
GtkLauncher did not like url file:///tmp/example.mht. File looks proper 
since chrome is able to open it and show me the contents. When passed 
same url in my code, it seems to be treating as text file.

Suspecting it's content type issue, but don't know how to get around it.

Regards,

Niranjan


More information about the webkit-gtk mailing list