Lines 1203-1208
Link Here
|
1203 |
http11 = false; |
1203 |
http11 = false; |
1204 |
error = true; |
1204 |
error = true; |
1205 |
// Send 505; Unsupported HTTP version |
1205 |
// Send 505; Unsupported HTTP version |
|
|
1206 |
if (log.isDebugEnabled()) { |
1207 |
log.debug(sm.getString("http11processor.request.prepare")+ |
1208 |
" Unsupported HTTP version \""+protocolMB+"\""); |
1209 |
} |
1206 |
response.setStatus(505); |
1210 |
response.setStatus(505); |
1207 |
} |
1211 |
} |
1208 |
|
1212 |
|
Lines 1311-1316
Link Here
|
1311 |
// Unsupported transfer encoding |
1315 |
// Unsupported transfer encoding |
1312 |
error = true; |
1316 |
error = true; |
1313 |
// 501 - Unimplemented |
1317 |
// 501 - Unimplemented |
|
|
1318 |
if (log.isDebugEnabled()) { |
1319 |
log.debug(sm.getString("http11processor.request.prepare")+ |
1320 |
" Unsupported transfer encoding \""+encodingName+"\""); |
1321 |
} |
1314 |
response.setStatus(501); |
1322 |
response.setStatus(501); |
1315 |
} |
1323 |
} |
1316 |
} |
1324 |
} |
Lines 1329-1334
Link Here
|
1329 |
if (http11 && (valueMB == null)) { |
1337 |
if (http11 && (valueMB == null)) { |
1330 |
error = true; |
1338 |
error = true; |
1331 |
// 400 - Bad request |
1339 |
// 400 - Bad request |
|
|
1340 |
if (log.isDebugEnabled()) { |
1341 |
log.debug(sm.getString("http11processor.request.prepare")+ |
1342 |
" host header missing"); |
1343 |
} |
1332 |
response.setStatus(400); |
1344 |
response.setStatus(400); |
1333 |
} |
1345 |
} |
1334 |
|
1346 |
|