Comments (4)
Heh unbelievably we are mimicking observed behavior in API gateway tho possibly something changed.
from functions.
related: architect/architect#317
from functions.
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.
Will be released tonight in 3.8.1
, thanks @alexbepple!
from functions.
Related Issues (20)
- arc.http.express does not correctly resolve the request method HOT 1
- arc.tables indexes HOT 2
- Changing the value of NODE_ENV can break builds HOT 4
- Deploy failed after following quickstart HOT 5
- Feature suggestion for full static manifest output HOT 2
- Improve handling of body parsing errors
- Before erroring out due to a missing entry in the service map, run service discovery once
- Publish to sandbox queue reads events port from wrong property HOT 2
- brotli compression breaks Sandbox livereload HOT 1
- dtslint it pinned, either rework TS lint step or scrap it
- A couple type defs missing for aliases HOT 1
- Arc deploy failing with AWS CICD
- Static does not work with fingerprinting HOT 2
- Type definition for tables()._db, tables()._doc is wrong for nodejs18.x runtime HOT 10
- Allow passing translateConfig to Dynamo client and doc client HOT 8
- Add option to enable/disable brotli compression
- JWE secret is not correctly passed for encryption
- arc.http[.async] in version 7.0.0 are overly strict regarding mixing sync and async middleware
- v8@RC arc.tables()['table'].put() returns empty object
- Improve Error Handling for Large Payloads HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from functions.