Skip to content

Commit

Permalink
Fixed case for Fn-headers according to the container contract
Browse files Browse the repository at this point in the history
Added Fn-Fdk-Version header to response
  • Loading branch information
Gaurav Saini committed Jun 2, 2021
1 parent 2a10469 commit d595a64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fdk/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def each(&block)
# Represents outbound HTTP headers
class OutHeaders < InHeaders
def initialize(headers, key_in_fn)
headers["Fn-Fdk-Version"] = ["fdk-ruby/#{FDK::VERSION}"]
super(headers, key_in_fn)
end

Expand Down

0 comments on commit d595a64

Please sign in to comment.