View | Details | Raw Unified | Return to bug 56706
Collapse All | Expand All

(-)src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java (+9 lines)
Lines 200-205 Link Here
200
        }
200
        }
201
    }
201
    }
202
202
203
    @Override
204
    public String getDataEncodingWithDefault(String defaultEncoding) {
205
        String dataEncodingNoDefault = getDataEncodingNoDefault();
206
        if(dataEncodingNoDefault != null && dataEncodingNoDefault.length()> 0) {
207
            return dataEncodingNoDefault;
208
        }
209
        return defaultEncoding;
210
    }
211
    
203
    /**
212
    /**
204
     * Overrides the method from SampleResult - so the encoding can be extracted from
213
     * Overrides the method from SampleResult - so the encoding can be extracted from
205
     * the Meta content-type if necessary.
214
     * the Meta content-type if necessary.

Return to bug 56706