문제

I'm using libnetcdf for retrieving data trought OPeNDAP protocol.

libnetcdf is using libcurl for the http transfert.

But libcurl is not following HTTP redirection. It needs CURLOPT_FOLLOWLOCATION set to 1.

Is there a way to make libcurl follow redirection by default without having to edit/recompile libnetcdf ?

도움이 되었습니까?

해결책

No. libcurl has no default config file or anything like that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top