playframework / playframework/play-ws
Add multipart-form data to standalone client
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 224
- Forks
- 92
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 28
Description
Currently the standalone client does not have built in support for multiform post. The functionality is actually in Play-WS in the main project, under https://github.com/playframework/playframework/blob/master/framework/src/play-ahc-ws/src/main/java/play/libs/ws/ahc/AhcWSRequest.java#L44
Because the goal of the standalone client is not to have a dependencies on Play, we'll have to copy it and add it as BodyWritable and BodyReadable:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the multipart implementation in Play-WS's framework/src/play-ahc-ws/src/main/java/play/libs/ws/ahc/AhcWSRequest.java around line 44. Then inspect the standalone client's existing BodyWritable and BodyReadable types and determine how to provide equivalent multipart form support without a Play dependency; done means standalone multipart POSTs are supported through those types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100