Git Product home page Git Product logo

Comments (4)

boecklic avatar boecklic commented on May 28, 2024 1

This is neither an issue with service-proxy nor with CORS. Google docs is returning a content type which is not (and never has been) in the list of allowed content-types (https://github.com/geoadmin/service-proxy/blob/master/service_proxy/main.py#L30). This is not caused by a change on our side

$ curl -L --head "https://docs.google.com/spreadsheets/d/1UQPF8OSwmKcwNgWzL1OCiVhvmDd0Hao742f5St0Vwho/export?format=tsv&gid=741518437"
HTTP/1.0 200 OK

HTTP/2 307 
content-type: text/html; charset=UTF-8
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Mon, 01 Jan 1990 00:00:00 GMT
date: Wed, 11 Nov 2020 08:36:56 GMT
location: https://doc-0s-8c-sheets.googleusercontent.com/export/l5l039s6ni5uumqbsj9o11lmdc/noj803r9isel08d0ot3qluk5ek/1605083815000/112465285372992345048/*/1UQPF8OSwmKcwNgWzL1OCiVhvmDd0Hao742f5St0Vwho?format=tsv&gid=741518437
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
content-security-policy: base-uri 'self';object-src 'self';report-uri https://docs.google.com/spreadsheets/cspreport;script-src 'nonce-ypjftrHyRU/SupDezgUt5g' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';worker-src 'self'
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
server: GSE
set-cookie: NID=204=gBrTfCKdSGnwAihhneN0PhTPe5Z3QI6DPiqvbUTzr0J-YwWjfOLbd131Cy49NPe6Y_-1TVZdk_sskANYR0rhpMAWV1gphzFLLQtd1qyhM6Zkml3oEKS0AroNjWlAaeWLAUHmGL2c9KCr83pL9b2yziYPUID4XTAR6s3Qxv4thfE; expires=Thu, 13-May-2021 08:36:56 GMT; path=/; domain=.google.com; HttpOnly
set-cookie: S=apps-spreadsheets=uhg2GDvRWDR__A7GWk4swL48nKpG6MEgxWfC-lccfVo; Domain=.docs.google.com; Expires=Wed, 11-Nov-2020 09:36:56 GMT; Path=/spreadsheets/d/1UQPF8OSwmKcwNgWzL1OCiVhvmDd0Hao742f5St0Vwho; Secure; HttpOnly; SameSite=none
alt-svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
accept-ranges: none
vary: Accept-Encoding

HTTP/1.0 200 OK

HTTP/2 200 
content-type: text/tab-separated-values
x-robots-tag: noindex, nofollow, nosnippet
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Mon, 01 Jan 1990 00:00:00 GMT
date: Wed, 11 Nov 2020 08:37:07 GMT
content-disposition: attachment; filename="SchliernAdventsfensterKartenGeneratorliner_2019-kml.tsv"; filename*=UTF-8''Schliern%20AdventsfensterKartenGeneratorliner_2019%20-%20kml.tsv
content-length: 12595
content-security-policy: base-uri 'self';object-src 'self';report-uri https://docs.google.com/spreadsheets/cspreport;script-src 'nonce-Y6RqDjXTDUEHb+QNKAZ7Cg' 'unsafe-inline' 'strict-dynamic' https: http: 'unsafe-eval';worker-src 'self'
content-security-policy: frame-ancestors 'self' https://docs.google.com
x-frame-options: ALLOW-FROM https://docs.google.com
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
server: GSE
alt-svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

from mf-geoadmin3.

sontags avatar sontags commented on May 28, 2024

Appears to be related to service-proxy migration, I am digging into this...

from mf-geoadmin3.

davidoesch avatar davidoesch commented on May 28, 2024

thx we also had another message from another user (will forward the mail)

from mf-geoadmin3.

davidoesch avatar davidoesch commented on May 28, 2024

Thx

Now - it works again .
See as well https://www.schoolmaps.ch/2017/12/04/adventsfenster-bern-der-lebendige-adventskalender-in-der-berner-matte/

On those sheets/approach url -> we did not change anything neither.

Solved for now— probably google changed sth

I close this

from mf-geoadmin3.

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.