Changeset 32498


Ignore:
Timestamp:
2018-10-03T22:28:51+13:00 (3 years ago)
Author:
Georgiy Litvinov
Message:

Check for response containing 200 as Tomcat 8 does not return OK after response code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/servercontrol.pm

    r32432 r32498  
    195195        return 0;
    196196    }
    197     if($response_code && $response_code eq "200 OK") {
     197    if($response_code && (index($response_code, "200") != -1)) {
    198198        $self->print_msg("*** Command $library_url$command\n", 3);
    199199        $self->print_msg("*** HTTP Response Status: $response_code - Complete.", 3);
Note: See TracChangeset for help on using the changeset viewer.