Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #31044 [HttpClient] Do not allow setting both json and body (giso…
…stallenberg) This PR was squashed before being merged into the 4.3-dev branch (closes #31044). Discussion ---------- [HttpClient] Do not allow setting both json and body | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30769 | License | MIT | Doc PR | n/a This will keep developers from using both the options `$options['body']` and `$options['json']`. Using both results in only json being the body of the request, which might lead to unexpected results. Commits ------- 601adf5 [HttpClient] Do not allow setting both json and body
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters