GithubHelp home page GithubHelp logo

Comments (5)

DecaTec avatar DecaTec commented on August 11, 2024

Seems to be a problem with WP 8.1 and System.Net.Http.HttpClient. Could you try to use a System.Net.Http.HttpClient directly in your WP 8.1 app? Does it work?

Since version 0.7, the library is based in .NET standard 1.1 and uses System.Net.Http.HttpClient.
Earlier versions contained an UWP part which uses Windows.Web.Http.HttpClient. This should also work for WP 8.1: https://github.com/DecaTec/Portable-WebDAV-Library/releases/tag/v0.6.3.0

Anyway, WP 8.1 has reached EOL in 2017.

from portable-webdav-library.

jp-weber avatar jp-weber commented on August 11, 2024

Thank you for the fast response.

I haven't had any problems here yet with System.Net.Http and .Net standard, especially because WP8.1 supports version 1.2 of .Net standard. The short test with System.Net.HTTP earlier didn't show any problems either. I will try to add and debug the project directly tonight and then try version 0.6.3 as well.

The project based on WP8.1 is for me only a hobby😃

from portable-webdav-library.

DecaTec avatar DecaTec commented on August 11, 2024

You could also try to use the class WebDavClient directly. Also great would be a little code example or even the exact point in the code where the exception is thrown (just clone the Portable WebDAV Library).

Have you experienced any problems when using Windows 10 Mobile? When not, I'm afraid that this is a WP 8.1 specific problem.

from portable-webdav-library.

jp-weber avatar jp-weber commented on August 11, 2024

I have downloaded the project and compile the project as debug. So I could follow all the steps one by one and have determined that the problem is based on the initialization of WebDavClient with the HttpVersion 2.0. With HttpVersion 1.1 it works perfect.

PS: My app is based on https://github.com/nextcloud/windows-universal

Strangely enough I haven't found any documentation from MS about it, that there are limits here.

from portable-webdav-library.

DecaTec avatar DecaTec commented on August 11, 2024

OK, seems that WP 8.1 cannot handle HTTP/2.
Anyway, thank you for the investigation!

from portable-webdav-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.