forked from lobo/lambda-zig
		
	fix bug introduced when moving to built in client
This commit is contained in:
		
							parent
							
								
									2c8eb248f8
								
							
						
					
					
						commit
						f26b735a55
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -60,7 +60,7 @@ pub fn run(allocator: ?std.mem.Allocator, event_handler: HandlerFn) !void { // T | |||
| 
 | ||||
|         var request_id: ?[]const u8 = null; | ||||
|         var content_length: ?usize = null; | ||||
|         for (req.headers.list.items) |h| { | ||||
|         for (req.response.headers.list.items) |h| { | ||||
|             if (std.ascii.eqlIgnoreCase(h.name, "Lambda-Runtime-Aws-Request-Id")) | ||||
|                 request_id = h.value; | ||||
|             if (std.ascii.eqlIgnoreCase(h.name, "Content-Length")) { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue