-
-
Notifications
You must be signed in to change notification settings - Fork 746
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] HeaderCollection attribute doesn't seem to work with POSTs #1102
Comments
Interesting. We've got a test where Edit: Suspicions confirmed. I have managed to create a failing test for this when Looks like the logic in Looks like I missed a spot there. Will update that logic to ignore parameters with attribute |
@uhfath I have opened a PR to fix this. |
@james-s-tayler thanks for taking a look into this and fixing the issue. Will test as soon as I get the chance. |
@uhfath no worries. Looks like the fix will be released in
|
Issue notified as resolved. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As described in docs I use [HeaderCollection] attribute to supply some dynamic headers to my requests:
While it works perfectly with GETs it just doesn't work the same way with POSTs:
Also with GETs everything is working when supplied header collection is null. But an exception (value is null) is thrown when using the same with POSTs.
Tested using 6.0.24
The text was updated successfully, but these errors were encountered: