Ghost/ghost/api-framework/lib
Daniel Lockyer c017174c9a Lazily executed calculating headers in API framework
- if the API controller endpoint is a function, we early return as we
  expect the function to handle the response but we still ended up
  calculating the headers beforehand, only to be thrown away
- this commit moves the header fetching code down in the flow so it's
  only executed when needed
- this doesn't really have a big effect for us because 99% of our
  controllers follow the object pattern
2022-08-12 10:16:01 +02:00
..
serializers Updated API framework debug and test names 2022-08-11 17:44:59 +02:00
utils Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
validators Updated API framework debug and test names 2022-08-11 17:44:59 +02:00
api-framework.js Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
frame.js Updated API framework debug and test names 2022-08-11 17:44:59 +02:00
headers.js Updated API framework debug and test names 2022-08-11 17:44:59 +02:00
http.js Lazily executed calculating headers in API framework 2022-08-12 10:16:01 +02:00
pipeline.js Updated API framework debug and test names 2022-08-11 17:44:59 +02:00