Skip to content

Webhooks are sent with invalid Content-Type header #3989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jeremystretch opened this issue Jan 23, 2020 · 0 comments
Closed

Webhooks are sent with invalid Content-Type header #3989

jeremystretch opened this issue Jan 23, 2020 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Member

Environment

  • Python version: 3.6.8
  • NetBox version: 2.7.2

Steps to Reproduce

  1. Create and trigger a webhook
  2. Inspect the outbound request

Expected Behavior

The HTTP Content-Type header should be set to either application/json or application/x-www-form-urlencoded (whichever is specified in the Webhook defition).

Observed Behavior

The Content-Type is set to either JSON or Form data.

@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation labels Jan 23, 2020
@jeremystretch jeremystretch self-assigned this Jan 23, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant