Fixing HttpClient warning “Invalid expires attribute” using fluent API

前端 未结 4 746
面向向阳花
面向向阳花 2020-12-28 12:53

I\'m using the fluent API of HttpClient to make a GET request:

String jsonResult = Request.Get(requestUrl)
            .connectTimeout(2000)
            .soc         


        
4条回答
  •  臣服心动
    2020-12-28 13:23

    Solved with:

    System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.client.protocol.ResponseProcessCookies", "fatal");
    

提交回复
热议问题