icefairy333 Active Member Licensed User Longtime User Mar 6, 2017 #1 v6.8 with internal okhttp3 can not urlencode auto
icefairy333 Active Member Licensed User Longtime User Mar 6, 2017 #2 and I have to change Code: Dim c As String=m.GetDefault("Set-Cookie","") to Code: Dim c As String=m.GetDefault("set-cookie","") to get the cookie
and I have to change Code: Dim c As String=m.GetDefault("Set-Cookie","") to Code: Dim c As String=m.GetDefault("set-cookie","") to get the cookie
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2017 #3 icefairy333 said: v6.8 with internal okhttp3 can not urlencode auto Click to expand... You always needed to use StringUtils to url encode the url and the parameters.
icefairy333 said: v6.8 with internal okhttp3 can not urlencode auto Click to expand... You always needed to use StringUtils to url encode the url and the parameters.
icefairy333 Active Member Licensed User Longtime User Mar 6, 2017 #4 b4a6.5 no need encode by myself. Erel said: You always needed to use StringUtils to url encode the url and the parameters. Click to expand...
b4a6.5 no need encode by myself. Erel said: You always needed to use StringUtils to url encode the url and the parameters. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2017 #5 1. The B4A version is not relevant. We are talking about OkHttp library version. 2. Can you post an example of code that previously worked and now doesn't?
1. The B4A version is not relevant. We are talking about OkHttp library version. 2. Can you post an example of code that previously worked and now doesn't?
icefairy333 Active Member Licensed User Longtime User Mar 6, 2017 #6 Erel said: 1. The B4A version is not relevant. We are talking about OkHttp library version. 2. Can you post an example of code that previously worked and now doesn't? Click to expand... please see this demo,the code is same but result is different between b4a6.5(okhttp1.02) and b4a6.8(okhttp1.20) Attachments 6.5.zip 6.5.zip 10 KB · Views: 374 6.8.zip 6.8.zip 10 KB · Views: 387
Erel said: 1. The B4A version is not relevant. We are talking about OkHttp library version. 2. Can you post an example of code that previously worked and now doesn't? Click to expand... please see this demo,the code is same but result is different between b4a6.5(okhttp1.02) and b4a6.8(okhttp1.20)
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2017 #7 You are talking about the user-agent. It was not clear at all in your previous posts. Next time please don't post screenshots. Post the error message and code as text. It is possible that OkHttp is more strict now. You will need to use StringUtils to encode the user agent.
You are talking about the user-agent. It was not clear at all in your previous posts. Next time please don't post screenshots. Post the error message and code as text. It is possible that OkHttp is more strict now. You will need to use StringUtils to encode the user agent.
icefairy333 Active Member Licensed User Longtime User Mar 6, 2017 #8 Erel said: You are talking about the user-agent. It was not clear at all in your previous posts. Next time please don't post screenshots. Post the error message and code as text. It is possible that OkHttp is more strict now. You will need to use StringUtils to encode the user agent. Click to expand... sorry I mean the key(like Set-Cookie upper or lowwer case) and value of header in http request maybe and response, sure it's the differents with okhttp
Erel said: You are talking about the user-agent. It was not clear at all in your previous posts. Next time please don't post screenshots. Post the error message and code as text. It is possible that OkHttp is more strict now. You will need to use StringUtils to encode the user agent. Click to expand... sorry I mean the key(like Set-Cookie upper or lowwer case) and value of header in http request maybe and response, sure it's the differents with okhttp