Skip to content

Commit

Permalink
[core-rest-pipeline] handle x-www-form-urlencoded form data (#18560)
Browse files Browse the repository at this point in the history
Currently `formDataPolicy` doesn't support x-www-form-urlencoded form data.
Sending request with such form data would cause `write EPIPE` error. This PR
adds handling of `x-www-form-urlencoded` form data. With this the workaround in
Container Registry library can be removed.

- Use URLSearchParams for NodeJS

- Split tests because multi-part verification is different between NodeJs and browser
  • Loading branch information
jeremymeng authored Nov 11, 2021
1 parent 86e46b1 commit caf71de
Show file tree
Hide file tree
Showing 44 changed files with 1,737 additions and 1,339 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit caf71de

Please sign in to comment.