• darin's avatar
    WebCore: · c12a0350
    darin authored
            Reviewed by Ken.
    
    	- fixed problem where Content-Type was coming in with suffixes like "charset"
    
            * kwq/WebCoreBridge.h: Add contentType and refresh parameters, and remove "headers"
    	parameter, from openURL method.
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]): Get the
    	content type from a parameter, and the refresh header from a separate parameter rather
    	than extracting both from a headers dictionary.
    
    WebKit:
    
            Reviewed by Ken.
    
    	- fixed problem where Content-Type was going into WebCore with suffixes like "charset"
    
            * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _commitIfReady:]):
    	Pass in contentType from the response, rather than the "Content-Type" header.
    	Also pass in the refresh header separately.
    
            * English.lproj/StringsNotToBeLocalized.txt: Updated for above change.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c12a0350
WebCoreBridge.h 9.2 KB