google-proxy | Use NodeJs to proxy Google search
kandi X-RAY | google-proxy Summary
kandi X-RAY | google-proxy Summary
In China usually can not use Google search, due to the usual learning needs, developed their own application of Google search agent.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- render google search token
- Get the Google base URL for a given keyword
google-proxy Key Features
google-proxy Examples and Code Snippets
Community Discussions
Trending Discussions on google-proxy
QUESTION
I am working on a project where protecting resources (here: webfonts) is a legal requirement and CORS is considered sufficient. Accessing CORS protected resources seems impossible through the AMP CDN.
how we handle cors at the originFor protected resources, we check the Origin:
request header against a regular expression and generate a matching Access-Control-Allow-Origin:
response header for a match plus Vary: Origin
always.
In essence (simplified, reduced example):
curl -H 'Orgin: https://allowed.domain' -I https://site/.../font.woff2
->
...ANSWER
Answered 2019-Feb-13 at 09:43This was an actual AMP CDN issue. I have worked 1:1 with contacts from google, who have resolved the issue.
Additionally, our origin did not send a Content-Type
response header, which is required.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install google-proxy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page