silverton-io / buz

Serverless multi-protocol + multi-destination event collection system.
https://oss.buz.dev/
Apache License 2.0
198 stars 23 forks source link

Fix http backend #596

Closed hatamiarash7 closed 1 month ago

hatamiarash7 commented 2 months ago

The http backend does not work because of the nil value of the HTTP header.

I think you intended to add the headers section to the config file in the future. Until then, we cannot use a nil value. Instead, we can put an empty http.Header{}.