You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Celery dispatcher does not set custom HTTP headers for webhook requests.
I am pretty sure the headers are being dropped because they are not included in the returned dict when the Request.as_dict method is called from here
I propose to ensure that Request.as_dict returns the existing dict, but with the request instances headers (_headers) included. If this seems like a reasonable solution please let me know and I'll get a PR submitted.
Environment
thorn 1.5.0
The text was updated successfully, but these errors were encountered:
Problem
Celery dispatcher does not set custom HTTP headers for webhook requests.
I am pretty sure the headers are being dropped because they are not included in the returned dict when the Request.as_dict method is called from here
I propose to ensure that
Request.as_dict
returns the existing dict, but with the request instances headers (_headers) included. If this seems like a reasonable solution please let me know and I'll get a PR submitted.Environment
thorn 1.5.0
The text was updated successfully, but these errors were encountered: