-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
bug: http data-datasource errors on 201
status code
#12987
Comments
Hi @hegerdes, Thanks for reporting this one to us, I've opened PR to fix this, anything in the 2xx range should not be considered an error. If merged soon, this will be part of the 1.11.x series which we'll release hopefully soon. Thanks again! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
The packer http data-source errors on any non
200
status codes. Including201
which is still a valid and successful response.Reproduction Steps
Create a http data-source and request a backend that returns any
2xx
status code except200
. Packer will failPacker version
Packer v1.10.3
Simplified Packer Template
Operating system and Environment details
Win 11 Pro, amd64
Log Fragments and crash.log files
Toggle me!
The text was updated successfully, but these errors were encountered: