Giter Club home page Giter Club logo

Comments (4)

brianleroux avatar brianleroux commented on August 16, 2024

Heh unbelievably we are mimicking observed behavior in API gateway tho possibly something changed.

from functions.

alexbepple avatar alexbepple commented on August 16, 2024

related: architect/architect#317

from functions.

ryanblock avatar ryanblock commented on August 16, 2024

I think something at some point changed, and API Gateway must no longer be doing this. Reproduced below (curl -i):

# Sandbox: arc.http
HTTP/1.1 202 Accepted
Content-Type: application/json; charset=utf8
Cache-Control: no-cache, no-store, must-revalidate, max-age=0, s-maxage=0
Date: Wed, 25 Mar 2020 03:42:58 GMT
Connection: keep-alive
Content-Length: 1 # followed by line break in body

# Sandbox: bare
HTTP/1.1 202 Accepted
Content-Type: application/json; charset=utf-8
Date: Wed, 25 Mar 2020 03:43:29 GMT
Connection: keep-alive
Content-Length: 0

# Real AWS: arc.http
HTTP/2 202
date: Wed, 25 Mar 2020 03:49:21 GMT
content-type: application/json; charset=utf8
content-length: 1 # followed by line break in body
x-amzn-requestid: 9fc029e8-00d2-4fb8-8f4d-b3ccdfc7312e
x-amz-apigw-id: J7YuOELAIAMFtzQ=
cache-control: no-cache, no-store, must-revalidate, max-age=0, s-maxage=0
x-amzn-trace-id: Root=1-5e7ad4c1-0bb728a17c1698f75951003c;Sampled=0

# Real AWS
HTTP/2 202
date: Wed, 25 Mar 2020 03:47:16 GMT
content-type: application/json
content-length: 0
x-amzn-requestid: 1e20250f-51db-4d54-a9d5-920b846255a5
x-amz-apigw-id: J7YavHE-oAMFW9w=
x-amzn-trace-id: Root=1-5e7ad444-ee21ca526510e5ce1db98eec;Sampled=0

Stand by for patch...

from functions.

ryanblock avatar ryanblock commented on August 16, 2024

Will be released tonight in 3.8.1, thanks @alexbepple!

from functions.

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.