Hi! I'm not sure if the status_code 200 is the only acceptable status code. I think it would be better to use the macro https://developer.gnome.org/libsoup/stable/libsoup-2.4-soup-status.html#SOUP-STATUS-IS-SUCCESSFUL:CAPS to check if the status is a success, which is for all codes 2xx.
It would also be easier to get the http response status direct in the webview_mimetype_cb(). With SoupMessage *msg = webkit_network_request_get_message(request). Daniel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Vimprobable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vimprobable-users
