634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
|
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
|
-
+
|
if( mHttpFlags & HTTP_GENERIC ){
if( mHttpFlags & HTTP_NOCOMPRESS ) isCompressed = 0;
}else if( fossil_strnicmp(&zLine[14], "application/x-fossil", -1)!=0 ){
isError = 1;
}
}
}else if( fossil_strnicmp(zLine, "x-fossil-xfer-login: ", 21)==0 ){
g.zLoginCard = fsl_mprintf("%s", &line[21]);
g.zLoginCard = mprintf("%s", &zLine[21]);
}
}
if( iHttpVersion<0 ){
/* We got nothing back from the server. If using the ssh: protocol,
** this might mean we need to add or remove the PATH=... argument
** to the SSH command being sent. If that is the case, retry the
** request after adding or removing the PATH= argument.
|