Skip to content

bugfix: fetch issues #790

Matthieu Fesselier requested to merge bugfix/790-fetch-issues into master

To test this:

Without authentication:

    <solid-display
      data-src='https://api.test3.startinblox.com/users/matthieu/'
      fields="first_name"
    ></solid-display>

    <solid-form
      data-src='https://api.test3.startinblox.com/users/matthieu/'
      fields="first_name"
      partial
    ></solid-form>

-> this should insert content-type: application/ld+json as headers in GET and PATCH (and accept-language: fr in GET)

With authentication, same example but with sib-auth:

    <sib-auth auto-login>
      <sib-auth-provider
        data-authority="https://api.test3.startinblox.com"
        data-id="test"
      ></sib-auth-provider>
    </sib-auth>

-> this should also insert content-type: application/ld+json as headers in GET and PATCH (and accept-language: fr in GET), but also DPoP headers

Closes #790 (closed)

Merge request reports