Skip to content

Commit d595a64

Browse files
author
Gaurav Saini
committed
Fixed case for Fn-headers according to the container contract
Added Fn-Fdk-Version header to response
1 parent 2a10469 commit d595a64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/fdk/context.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def each(&block)
5151
# Represents outbound HTTP headers
5252
class OutHeaders < InHeaders
5353
def initialize(headers, key_in_fn)
54+
headers["Fn-Fdk-Version"] = ["fdk-ruby/#{FDK::VERSION}"]
5455
super(headers, key_in_fn)
5556
end
5657

0 commit comments

Comments
 (0)