B4J Question HTTP GET request error

ziomorgan

Member
Licensed User
I made an httpjob GET request with jhttputils2 ver 1.03 and i got the error:
gen 15, 2015 12:49:21 AM org.apache.http.impl.client.DefaultHttpClient handleResponse

what it mean ?

perhaps i must clear the cookie ?

if yes how ?

thanks
 

ziomorgan

Member
Licensed User
This is not an error message. What was the value of Job.ErrorMessage?
I'm sorry. You're right. The red warning in the log appears when i use a WebView with LoadUrl:

gen 15, 2015 9:17:18 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "set-cookie: locale=en; Domain=dropbox.com; expires=Tue, 14 Jan 2020 08:12:15 GMT; Path=/". Unable to parse expires attribute: Tue, 14 Jan 2020 08:12:15 GMT

what does it mean ?
 

billzhan

Active Member
Licensed User
I guess "expires=Tue, 14 Jan 2020 08:12:15 GMT;" contains ":" which cause the parse warning.
 

billzhan

Active Member
Licensed User
Make sure that your can login dropbox with chrome/firefox.
Try a new java version may help.

If cookies are set by server(dropbox.com), remove/set them will not solve this.
This may cause by jvm webview. JVM webview are reported with some bugs (e.g. it can't load b4x.com )


If you can upload the project, someone else may help
 
Top