mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
59b4ba566a
commit
2c5c39a35f
@ -830,6 +830,13 @@ parse_header(DownloadStatus *status) {
|
||||
|
||||
// Two consecutive (CR LF)s indicates end of HTTP header
|
||||
if (nl == p) {
|
||||
// Make sure we didn't get a redirect
|
||||
if (redirect == true) {
|
||||
downloader_cat.error()
|
||||
<< "Downloader::parse_header() - Got a 302 redirect but no "
|
||||
<< "Location directive" << endl;
|
||||
return EU_error_abort;
|
||||
}
|
||||
if (downloader_cat.is_debug())
|
||||
downloader_cat.debug()
|
||||
<< "Downloader::parse_header() - Header is complete" << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user