Skip to content
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

Parameters are not included in multipart POST requests #333

Open
fluiddot opened this issue Jan 25, 2021 · 0 comments · May be fixed by #338
Open

Parameters are not included in multipart POST requests #333

fluiddot opened this issue Jan 25, 2021 · 0 comments · May be fixed by #338
Labels
bug Something isn't working

Comments

@fluiddot
Copy link
Contributor

fluiddot commented Jan 25, 2021

Expected behavior

Parameters argument of multipartPOST function should be included in the POST request.

Actual behavior

Parameters are not included.

Steps to reproduce the behavior

multipartPOST function is only used in the following places:

The easiest way to reproduce the bug is by adding items from the free photo library as they include as the caption value its photo credit in the upload parameters.

  1. Go to the media screen.
  2. Tap on + button.
  3. Tap on Free Photo Library.
  4. Search any term.
  5. Tap one or multiple items.
  6. Tap on Add button.
  7. Wait for the items to be uploaded.
  8. Tap on one of the uploaded items.
  9. Check that the caption value is empty.
WordPressKit Environment
  • WordPressKit Version 4.25-beta
  • OS: iOS 14.0
  • Device: iPhone 8 (simulator)
  • Xcode Version: Xcode 12.0
Additional Context

No.

@fluiddot fluiddot added the bug Something isn't working label Jan 25, 2021
@fluiddot fluiddot self-assigned this Jan 28, 2021
@fluiddot fluiddot changed the title Uploaded media items including a caption have that value empty Parameters are not included in multipart POST requests Jan 28, 2021
@fluiddot fluiddot linked a pull request Jan 28, 2021 that will close this issue
1 task
@fluiddot fluiddot removed their assignment Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant