Code Monkey home page Code Monkey logo

Comments (3)

chrispaterson avatar chrispaterson commented on August 15, 2024 1

I think if you use a CURL request you'll see that the CORS header is set. This seems to be an intermittent problem that I experience as well; My Chrome browser gets stuck thinking there are no CORS headers being sent but if I inspect the request with CURL I can see the headers being sent. Regardless, with V2 CMPs will be required to host their own vendor-list.json's.

from gdpr-transparency-and-consent-framework.

andresilveirah avatar andresilveirah commented on August 15, 2024

Thanks for the answer @chrispaterson you're absolutely right. I've just tested with cURL and the response does include CORS headers

curl -H "Access-Control-Request-Method: GET" -H "Origin: http://localhost" --head https://vendorlist.consensu.org/vendorlist.json
HTTP/2 200
content-type: application/json; charset=utf-8
content-length: 94417
date: Sun, 15 Dec 2019 11:23:36 GMT
access-control-allow-origin: * <---------------------------
access-control-allow-methods: GET
access-control-max-age: 604800
last-modified: Thu, 12 Dec 2019 16:00:29 GMT
etag: "d4235702ad8b53f0cdf0070297b28726"
cache-control: max-age=604800
x-amz-version-id: 46J9XEoxi0yfpD4MttrQGqD7kPJU8xtn
accept-ranges: bytes
server: AmazonS3
vary: Accept-Encoding,Origin,Access-Control-Request-Headers,Access-Control-Request-Method
x-cache: Miss from cloudfront
via: 1.1 9810d82af8847b51b9c3048141069a65.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA6-C1
x-amz-cf-id: kO9_gCtDtrSO6Z57giYPHSl5Pwz6fIza5BdFK5K1v-ZHa-s-cxvieg==

The funny thing is I just tried fetch again and it worked 🤷‍♂

from gdpr-transparency-and-consent-framework.

jcmartineztiempo avatar jcmartineztiempo commented on August 15, 2024

Hi chrispaterson,

where do you have read that CMPs must host the GVL? Because I have the same error and I don't see anything in the official documentation?

Thanks

from gdpr-transparency-and-consent-framework.

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.