• Re: Disable cache at httpsURLConnection

    From Andy Burns@usenet@andyburns.uk to comp.mobile.android on Fri Apr 17 07:44:46 2026
    From Newsgroup: comp.mobile.android

    Arno Welzel wrote:

    Jakub wrote:

    try {
    val url = URL(destinationUrl)
    httpsURLConnection =
    url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
    [...]

    And this code is not PHP but looks like JavaScript.
    From the "as" keyword, it looks like Kotlin ...

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to comp.mobile.android on Fri Apr 17 12:06:21 2026
    From Newsgroup: comp.mobile.android

    Andy Burns, 2026-04-17 08:44:

    Arno Welzel wrote:

    Jakub wrote:

    try {
    val url = URL(destinationUrl)
    httpsURLConnection =
    url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
    [...]

    And this code is not PHP but looks like JavaScript.
    From the "as" keyword, it looks like Kotlin ...

    Yes, you're right. Seems to be Kotlin and thus more on-topic here again.
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Andy Burns@usenet@andyburns.uk to comp.mobile.android on Fri Apr 17 11:11:28 2026
    From Newsgroup: comp.mobile.android

    Arno Welzel wrote:

    Andy Burns wrote:

    Arno Welzel wrote:

    Jakub wrote:

    try {
    val url = URL(destinationUrl)
    httpsURLConnection =
    url.openConnection(Proxy.NO_PROXY) as HttpsURLConnection
    [...]

    And this code is not PHP but looks like JavaScript.
    From the "as" keyword, it looks like Kotlin ...

    Yes, you're right. Seems to be Kotlin and thus more on-topic here again.
    Unfortunately Jakub has a habit of drive-by questions with no follow up, that's quite a long example to expect someone to grok and respond to ...


    --- Synchronet 3.21f-Linux NewsLink 1.2